diff options
Diffstat (limited to 'abs/core/fakeroot/fakeroot.install')
-rw-r--r-- | abs/core/fakeroot/fakeroot.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/fakeroot/fakeroot.install b/abs/core/fakeroot/fakeroot.install new file mode 100644 index 0000000..986c91b --- /dev/null +++ b/abs/core/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 . +} |