diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-19 21:09:15 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-19 21:09:15 -0400 |
commit | a250a2c70a4d32225edb805229a01d3bb50587ef (patch) | |
tree | 775a3c32dc6fcd646e592da5f53fbb071f278ec1 /libraries/qt3/doinst.sh | |
parent | 16c6a38dc0460195a31bb9f68961752b3429f36c (diff) |
libraries/qt3: Fix docs, doinst, symlink.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/qt3/doinst.sh')
-rw-r--r-- | libraries/qt3/doinst.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libraries/qt3/doinst.sh b/libraries/qt3/doinst.sh index d57fb03194ad2..c2a7379aa7378 100644 --- a/libraries/qt3/doinst.sh +++ b/libraries/qt3/doinst.sh @@ -1,9 +1,6 @@ -## This was causing problems compiling KDE for unknown reasons. -## So, we'll symlink the libraries into /opt/kde3 again... # Add QT library directory to /etc/ld.so.conf: -if ! grep /opt/kde3/lib etc/ld.so.conf 1> /dev/null 2> /dev/null ; then - echo "/opt/kde3/lib" >> etc/ld.so.conf -fi -if [ -x /sbin/ldconfig ]; then - /sbin/ldconfig 2> /dev/null +if [ -e etc/ld.so.conf ]; then + if ! grep /opt/kde3/lib etc/ld.so.conf 1> /dev/null 2> /dev/null ; then + echo "/opt/kde3/lib" >> etc/ld.so.conf + fi fi |