From 76f2dded044398e5d313214e8bf432ab47f8738a Mon Sep 17 00:00:00 2001 From: David P Date: Sun, 12 Jul 2020 23:12:38 -0400 Subject: addpkg: libre/fakeroot 1.24-2.parabola1 Signed-off-by: David P --- libre/fakeroot/fakeroot.install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libre/fakeroot/fakeroot.install (limited to 'libre/fakeroot/fakeroot.install') 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 . +} -- cgit v1.2.3