summaryrefslogtreecommitdiff
path: root/libre/fakeroot/fakeroot.install
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-07-12 23:12:38 -0400
committerDavid P <megver83@parabola.nu>2020-07-12 23:12:38 -0400
commit76f2dded044398e5d313214e8bf432ab47f8738a (patch)
tree535561fa87a8688ba7959531dbc353a13e175e87 /libre/fakeroot/fakeroot.install
parent1548efbcbce4abdcdb0c790b60dd015c9ef363ec (diff)
downloadabslibre-76f2dded044398e5d313214e8bf432ab47f8738a.tar.gz
abslibre-76f2dded044398e5d313214e8bf432ab47f8738a.tar.bz2
abslibre-76f2dded044398e5d313214e8bf432ab47f8738a.zip
addpkg: libre/fakeroot 1.24-2.parabola1
Signed-off-by: David P <megver83@parabola.nu>
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 .
+}