From c53bada25d32ccaba628488cabe023cda405dc7c Mon Sep 17 00:00:00 2001 From: bill-auger Date: Mon, 13 Jul 2020 23:08:45 -0400 Subject: [fakeroot->fakeroot-tcp] rename, allow build without networking --- libre/fakeroot-tcp/fakeroot.install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libre/fakeroot-tcp/fakeroot.install (limited to 'libre/fakeroot-tcp/fakeroot.install') diff --git a/libre/fakeroot-tcp/fakeroot.install b/libre/fakeroot-tcp/fakeroot.install new file mode 100644 index 000000000..caab92243 --- /dev/null +++ b/libre/fakeroot-tcp/fakeroot.install @@ -0,0 +1,14 @@ +post_install() { + usr/bin/ldconfig -r . +} + +post_upgrade() { + if [ "$(vercmp $2 1.14.4-2)" -lt 0 ]; then + sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf + fi + usr/bin/ldconfig -r . +} + +pre_remove() { + usr/bin/ldconfig -r . +} -- cgit v1.2.3