home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff398.lzh / DClock / Install < prev    next >
Text File  |  1990-11-01  |  1KB  |  41 lines

  1. .K ""
  2. echo "This script will install the DClock handler in L: and arp.library"
  3. echo "in LIBS:, after checking to see if they already exist and giving"
  4. echo "you the option to overwrite the installed ones if so."
  5. echo ""
  6.  
  7. if not EXISTS L:DClock-Handler
  8.     echo "No existing handler, installing L:DClock-Handler..."
  9.     copy DClock-Handler L:DClock-Handler
  10. else
  11.     echo "Examine the info for each handler."
  12.     echo ""
  13.     list L:DClock-Handler
  14.     list /DClock/DClock-Handler
  15.     echo ""
  16.     ask "Do you wish to overwrite L:DClock-Handler?"
  17.     if WARN
  18.         echo "Updating L:DClock-Handler..."
  19.         copy DClock-Handler L:DClock-Handler
  20.     endif
  21. endif
  22.  
  23. if not EXISTS LIBS:arp.library
  24.     echo "No existing library, installing LIBS:arp.library..."
  25.     copy arp.library LIBS:arp.library
  26. else
  27.     echo "Examine the version numbers of each library."
  28.     echo ""
  29.     version LIBS:arp.library
  30.     version /DClock/arp.library
  31.     echo ""
  32.     ask "Do you wish to overwrite LIBS:arp.library?"
  33.     if WARN
  34.         echo "Updating LIBS:arp.library..."
  35.         copy arp.library LIBS:arp.library
  36.     endif
  37. endif
  38.  
  39. echo "All Done.  Click close gadget to get rid of window."
  40. endcli
  41.