summaryrefslogtreecommitdiff
path: root/libre/fakeroot-tcp/fakeroot.install
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-13 23:08:45 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-07-14 11:07:47 -0400
commitc53bada25d32ccaba628488cabe023cda405dc7c (patch)
treeb173bc1710f6b642ea46e9e3e06ef6fd102525d9 /libre/fakeroot-tcp/fakeroot.install
parentc72b6d65fe391a5d407f2126dd15040ff79a022b (diff)
downloadabslibre-c53bada25d32ccaba628488cabe023cda405dc7c.tar.gz
abslibre-c53bada25d32ccaba628488cabe023cda405dc7c.tar.bz2
abslibre-c53bada25d32ccaba628488cabe023cda405dc7c.zip
[fakeroot->fakeroot-tcp] rename, allow build without networking
Diffstat (limited to 'libre/fakeroot-tcp/fakeroot.install')
-rw-r--r--libre/fakeroot-tcp/fakeroot.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/fakeroot-tcp/fakeroot.install b/libre/fakeroot-tcp/fakeroot.install
new file mode 100644
index 000000000..caab92243
--- /dev/null
+++ b/libre/fakeroot-tcp/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 .
+}