2 if ! [ `grep '/opt/insight/lib' etc/ld.so.conf` ]; then
3 echo "/opt/insight/lib" >>etc/ld.so.conf
6 echo "-----------------------------------------------"
7 echo "Environment variables have changed. Either log"
8 echo "out and back in or source /etc/profile before"
10 echo "-----------------------------------------------"
18 cat etc/ld.so.conf | grep -v '/opt/insight/lib' >/tmp/.pacinsight
19 mv /tmp/.pacinsight etc/ld.so.conf
20 chmod 644 etc/ld.so.conf