home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / t / t-info / install.sh < prev    next >
Encoding:
Text File  |  1995-10-10  |  872 b   |  34 lines

  1. if test -z "$1"; then
  2.   echo Syntax: install.sh diskdir
  3.   echo where diskdir is the directory under which the ntex01 disk is mounted.
  4.   exit -1
  5. fi
  6. if test -e "/tmp/install.ntex"; then
  7.   echo Directory /tmp/install.ntex already exsits!
  8.   echo Maybe someone else installs NTeX or has installed it?
  9.   exit -1
  10. fi
  11. echo Preparing the installation of NTeX...
  12. instdir=/tmp/install.ntex
  13. mkdir $instdir
  14. gzip -d - <$1/install.tgz >$instdir/install.tar
  15. for i in diskfs disknam INFO README DISKS CHANGES
  16. do
  17. cp $1/$i $instdir/$i
  18. done
  19. cd $instdir
  20. umount $1
  21. tar xf $instdir/install.tar
  22. rm $instdir/install.tar
  23. echo
  24. echo Starting installntex...
  25. echo
  26. $instdir/installntex
  27. echo
  28. echo You may call installntex again from the directory /tmp/install.ntex
  29. echo in order to install more packages. After you have finished the
  30. echo installation you can remove the directory /tmp/install.ntex
  31. echo
  32.  
  33.  
  34.