summaryrefslogtreecommitdiff
path: root/libre/fakeroot/fakeroot.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/fakeroot/fakeroot.install')
-rw-r--r--libre/fakeroot/fakeroot.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/fakeroot/fakeroot.install b/libre/fakeroot/fakeroot.install
new file mode 100644
index 000000000..caab92243
--- /dev/null
+++ b/libre/fakeroot/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 .
+}