summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/xulrunner/xulrunner.install
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2009-08-30 12:31:09 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2009-08-30 12:31:09 (GMT)
commita37e2434c8b5f4c49ef40bc6f0ee3ea03124ad94 (patch)
tree53a5ccc3b6e6ebf2aad3fae1aa794569c2d5ce26 /abs/extra-testing/xulrunner/xulrunner.install
parent5332451e787382363d5797c19043f2d766f7e4c3 (diff)
downloadlinhes_pkgbuild-a37e2434c8b5f4c49ef40bc6f0ee3ea03124ad94.zip
linhes_pkgbuild-a37e2434c8b5f4c49ef40bc6f0ee3ea03124ad94.tar.gz
linhes_pkgbuild-a37e2434c8b5f4c49ef40bc6f0ee3ea03124ad94.tar.bz2
xulrunner: add libs to ld.so.conf in install script
Diffstat (limited to 'abs/extra-testing/xulrunner/xulrunner.install')
-rw-r--r--abs/extra-testing/xulrunner/xulrunner.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra-testing/xulrunner/xulrunner.install b/abs/extra-testing/xulrunner/xulrunner.install
new file mode 100644
index 0000000..0b4cf9c
--- /dev/null
+++ b/abs/extra-testing/xulrunner/xulrunner.install
@@ -0,0 +1,11 @@
+post_install() {
+ # Ensure that the ld.so.conf file contains the xulrunner libs.
+ cp -f /etc/ld.so.conf /tmp/ld.so.conf
+ grep -v xulrunner /tmp/ld.so.conf > /etc/ld.so.conf
+ echo /usr/lib/xulrunner-1.9.1.1 >> /etc/ld.so.conf
+ /sbin/ldconfig
+}
+
+post_upgrade() {
+ post_install $*
+}