home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d05xx / d0540.lha / ParM / Install < prev    next >
Text File  |  1991-08-27  |  2KB  |  69 lines

  1. .K ""
  2.  
  3. ask "Do you wish to install the libraries in libs: ?"
  4. if WARN
  5.     if not EXISTS libs:req.library
  6.         echo "No existing library, installing libs:req.library..."
  7.         copy :libs/req.library libs:req.library
  8.     else
  9.         echo "Examine the version numbers of each library."
  10.         echo ""
  11.         version libs:req.library
  12.         version :libs/req.library
  13.         echo ""
  14.         ask "Do you wish to overwrite libs:req.library?"
  15.         if WARN
  16.             echo "Updating libs:req.library..."
  17.             copy :libs/req.library libs:req.library
  18.         endif
  19.     endif
  20.     if not EXISTS libs:arp.library
  21.         echo "No existing library, installing libs:arp.library..."
  22.         copy :libs/arp.library libs:arp.library
  23.     else
  24.         echo "Examine the version numbers of each library."
  25.         echo ""
  26.         version libs:arp.library
  27.         version :libs/arp.library
  28.         echo ""
  29.         ask "Do you wish to overwrite libs:arp.library?"
  30.         if WARN
  31.             echo "Updating libs:arp.library..."
  32.             copy :libs/arp.library libs:arp.library
  33.         endif
  34.     endif
  35.     if not EXISTS libs:parm.library
  36.         echo "No existing library, installing libs:parm.library..."
  37.         copy :libs/parm.library libs:parm.library
  38.     else
  39.         echo "Examine the version numbers of each library."
  40.         echo ""
  41.         version libs:parm.library
  42.         version :libs/parm.library
  43.         echo ""
  44.         ask "Do you wish to overwrite libs:parm.library?"
  45.         if WARN
  46.             echo "Updating libs:parm.library..."
  47.             copy :libs/parm.library libs:parm.library
  48.         endif
  49.     endif
  50. endif
  51.  
  52. ask "Do you wish to install ParM in SYS:Utilities?"
  53. if WARN
  54.     IF NOT EXISTS SYS:Utilities
  55.         c:makedir SYS:Utilities
  56.         echo "Directory `SYS:Utilities' created"
  57.     ENDIF
  58.     copy ParM Sys:Utilities
  59.     copy ParM.info Sys:Utilities
  60. endif
  61.  
  62. ask "Do you wish to install ParM.cfg in S: ?"
  63. if WARN
  64.     copy ParM.cfg S:
  65. endif
  66.  
  67. echo "All Done.  Click close gadget to get rid of window."
  68. endcli
  69.