summaryrefslogtreecommitdiff
path: root/testing/fakeroot/fakeroot.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-26 00:01:31 +0000
committerroot <root@rshg054.dnsready.net>2012-04-26 00:01:31 +0000
commit00e1a2f0886e471d594c22dc14fc9d80ce5098c4 (patch)
treeb8c721e8b8050ead04f92a5051e4bee881defa9b /testing/fakeroot/fakeroot.install
parent98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (diff)
Thu Apr 26 00:01:31 UTC 2012
Diffstat (limited to 'testing/fakeroot/fakeroot.install')
-rw-r--r--testing/fakeroot/fakeroot.install14
1 files changed, 14 insertions, 0 deletions
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 .
+}