home *** CD-ROM | disk | FTP | other *** search
- if [ -r /mnt/linux/etc/ld.so.conf ]; then
- ETC=/mnt/linux/etc
- elif [ -r /mnt/etc ]; then
- ETC=/mnt/etc
- else
- ETC=/etc
- fi
- if ! fgrep interviews $ETC/ld.so.conf 1> /dev/null 2> /dev/null ; then
- echo "/usr/lib/interviews/lib" >> $ETC/ld.so.conf
- fi
- if ! fgrep interviews $ETC/csh.login 1> /dev/null 2> /dev/null ; then
- echo "set path = ( \$path /usr/lib/interviews/bin )" >> $ETC/csh.login
- fi
- if ! fgrep interviews $ETC/profile 1> /dev/null 2> /dev/null ; then
- echo "PATH=\$PATH:/usr/lib/interviews/bin" >> $ETC/profile
- fi
- ( cd usr/lib/interviews/lib ; rm -rf libIV.so.3 )
- ( cd usr/lib/interviews/lib ; ln -sf libIV.so.3.1.2 libIV.so.3 )
- ( cd usr/lib/interviews/lib ; rm -rf libUnidraw.so.3 )
- ( cd usr/lib/interviews/lib ; ln -sf libUnidraw.so.3.1.2 libUnidraw.so.3 )
- if [ "$ETC" = "/etc" ]; then ldconfig ; fi
-