summaryrefslogtreecommitdiff
path: root/libraries/qt4/doinst.sh
diff options
context:
space:
mode:
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 4e56cbc8cf..d0fc12b68f 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