home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / unaxcess / patch1 / install.pat next >
Encoding:
Text File  |  1986-11-30  |  1.8 KB  |  52 lines

  1. *** ../temp1/Utilities/install.sh    Mon May 12 07:37:21 1986
  2. --- Utilities/install.sh    Mon May 12 07:43:58 1986
  3. ***************
  4. *** 19,24
  5.   :
  6.   : Yes, the "-> ->" business is copped from Unify.  I sincerely doubt that it is
  7.   : copyrighted, and it is fairly obvious.
  8.   
  9.   if test ! -w /etc/passwd; then
  10.       echo "I'm not running as root.  Please ask a system administrator to run this install"
  11.  
  12. --- 19,25 -----
  13.   :
  14.   : Yes, the "-> ->" business is copped from Unify.  I sincerely doubt that it is
  15.   : copyrighted, and it is fairly obvious.
  16. + :
  17.   
  18.   if test ! -w /etc/passwd; then
  19.       echo "I'm not running as root.  Please ask a system administrator to run this install"
  20. ***************
  21. *** 398,403
  22.   chown $UAOWNER $UAHOME/userfile
  23.   chmod 644 $UAHOME/userfile
  24.   : end of userfile installation
  25.   
  26.   echo ""
  27.   echo "I am going to create a simple new-user bulletin.  It is your job to change it"
  28.  
  29. --- 399,420 -----
  30.   chown $UAOWNER $UAHOME/userfile
  31.   chmod 644 $UAHOME/userfile
  32.   : end of userfile installation
  33. + echo ""
  34. + today="`date | sed -e 's/^... \(...\)  *\([0-9][0-9]*\) [^ ][^ ]* 19\(..\)$/\1\/\2\/\3/'`"
  35. + today="`echo $today | sed -e s/Jan/1/ -e s/Feb/2/ -e s/Mar/3/ -e s/Apr/4/ -e s/May/5/ -e s/Jun/6/`"
  36. + today="`echo $today | sed -e s/Jul/7/ -e s/Aug/8/ -e s/Sep/9/ -e s/Oct/10 -e s/Nov/11/ -e s/Dec/12/`"
  37. + echo "Creating $UAHOME/directory..."
  38. + cat << --LIBCATLG-- > $UAHOME/directory
  39. + branch file GENERAL; $today by $sysop: General up/downloading
  40. + --LIBCATLG--
  41. + chown $UAOWNER $UAHOME/directory
  42. + chmod 644 $UAHOME/directory
  43. + echo "Creating $UAHOME/upload-log..."
  44. + cp /dev/null $UAHOME/upload-log
  45. + chown $UAOWNER $UAHOME/upload-log
  46. + chmod 644 $UAHOME/upload-log
  47. + : end of directory installation
  48.   
  49.   echo ""
  50.   echo "I am going to create a simple new-user bulletin.  It is your job to change it"
  51.