diff options
author | root <root@rshg054.dnsready.net> | 2011-08-22 23:14:28 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-22 23:14:28 +0000 |
commit | 64e290184042563a240e2d6d15c02e06703d00ee (patch) | |
tree | bf85f88c86a6315c8ed783e0f1492a56e3f3e51b /testing/fakeroot/fakeroot.install | |
parent | e9a5c646563c984f362db1777f8c6bc7da63a4ab (diff) |
Mon Aug 22 23:14:28 UTC 2011
Diffstat (limited to 'testing/fakeroot/fakeroot.install')
-rw-r--r-- | testing/fakeroot/fakeroot.install | 14 |
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 . +} |