aboutsummaryrefslogtreecommitdiff
path: root/libraries/qt4/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:42:09 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:42:09 +0200
commite6840b4ba85dae992ad1eb29ce02071f5da7360d (patch)
treeda4a679ceb26d67ba177d5fcf46990e545544f4f /libraries/qt4/doinst.sh
parent2bd62a324d63c5169b8b9528f818ac6cef72a8cf (diff)
libraries/qt4: Updated for version 4.5.1
Diffstat (limited to 'libraries/qt4/doinst.sh')
-rw-r--r--libraries/qt4/doinst.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/qt4/doinst.sh b/libraries/qt4/doinst.sh
index 4e56cbc8cf308..d0fc12b68f87b 100644
--- a/libraries/qt4/doinst.sh
+++ b/libraries/qt4/doinst.sh
@@ -1,5 +1,4 @@
-if ! grep -q /usr/lib/qt4/lib etc/ld.so.conf ; then
- echo "/usr/lib/qt4/lib" >> etc/ld.so.conf
+if [ -x sbin/ldconfig ]; then
+ chroot . /sbin/ldconfig 2> /dev/null
fi
-chroot . /sbin/ldconfig 2> /dev/null