summaryrefslogtreecommitdiffstats
path: root/abs/core/fakeroot/fakeroot.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:17:50 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:17:50 (GMT)
commit9694a7dc985cc11f4b2743be3647049e977c4ee0 (patch)
treec63d8447aef20d3d41bcf847b8983b4b765cc847 /abs/core/fakeroot/fakeroot.install
parentf0f8b91bd6a01b0bc041cc6c514da1c770f6dfb1 (diff)
downloadlinhes_pkgbuild-9694a7dc985cc11f4b2743be3647049e977c4ee0.zip
linhes_pkgbuild-9694a7dc985cc11f4b2743be3647049e977c4ee0.tar.gz
linhes_pkgbuild-9694a7dc985cc11f4b2743be3647049e977c4ee0.tar.bz2
fakeroot 1.18.4
new
Diffstat (limited to 'abs/core/fakeroot/fakeroot.install')
-rw-r--r--abs/core/fakeroot/fakeroot.install14
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 .
+}