From 00e1a2f0886e471d594c22dc14fc9d80ce5098c4 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Apr 2012 00:01:31 +0000 Subject: Thu Apr 26 00:01:31 UTC 2012 --- testing/fakeroot/fakeroot.install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testing/fakeroot/fakeroot.install (limited to 'testing/fakeroot/fakeroot.install') diff --git a/testing/fakeroot/fakeroot.install b/testing/fakeroot/fakeroot.install new file mode 100644 index 000000000..986c91b06 --- /dev/null +++ b/testing/fakeroot/fakeroot.install @@ -0,0 +1,14 @@ +post_install() { + sbin/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 + sbin/ldconfig -r . +} + +pre_remove() { + sbin/ldconfig -r . +} -- cgit v1.2.3-54-g00ecf