home *** CD-ROM | disk | FTP | other *** search
/ Chip 1995 March / CHIP3.mdf / slakinst / contents / scripts / iv_31 < prev    next >
Encoding:
Text File  |  1995-08-04  |  816 b   |  22 lines

  1. if [ -r /mnt/linux/etc/ld.so.conf ]; then
  2.   ETC=/mnt/linux/etc
  3. elif [ -r /mnt/etc ]; then
  4.   ETC=/mnt/etc
  5. else
  6.   ETC=/etc
  7. fi
  8. if ! fgrep interviews $ETC/ld.so.conf 1> /dev/null 2> /dev/null ; then
  9.   echo "/usr/lib/interviews/lib" >> $ETC/ld.so.conf
  10. fi
  11. if ! fgrep interviews $ETC/csh.login 1> /dev/null 2> /dev/null ; then
  12.   echo "set path = ( \$path /usr/lib/interviews/bin )" >> $ETC/csh.login
  13. fi
  14. if ! fgrep interviews $ETC/profile 1> /dev/null 2> /dev/null ; then
  15.   echo "PATH=\$PATH:/usr/lib/interviews/bin" >> $ETC/profile
  16. fi
  17. ( cd usr/lib/interviews/lib ; rm -rf libIV.so.3 )
  18. ( cd usr/lib/interviews/lib ; ln -sf libIV.so.3.1.2 libIV.so.3 )
  19. ( cd usr/lib/interviews/lib ; rm -rf libUnidraw.so.3 )
  20. ( cd usr/lib/interviews/lib ; ln -sf libUnidraw.so.3.1.2 libUnidraw.so.3 )
  21. if [ "$ETC" = "/etc" ]; then ldconfig ; fi
  22.