home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d8xx / d826 / asteriods.lha / Asteriods / InstallFont < prev    next >
Text File  |  2001-02-25  |  2KB  |  59 lines

  1. .K ""
  2. echo "This script will install the asteriod fonts in your FONTS: directory."
  3. echo ""
  4.  
  5. ask "Do you wish to continue with the installation? [y/n]"
  6. if WARN
  7.   if not EXISTS fonts:basic.font
  8.     echo "No existing basic.font, installing basic font..."
  9.     copy fonts/basic.font fonts:
  10.     copy fonts/basic fonts:basic all
  11.   else
  12.     echo "Found an existing basic.font in your FONTS: directory."
  13.     ask "Do you wish to replace it with this version of the font? [y/n]"
  14.       if WARN
  15.         echo "Updating basic font..."
  16.     copy fonts/basic.font fonts:
  17.     copy fonts/basic fonts:basic all
  18.       else
  19.         echo "Font unchanged."
  20.       endif
  21.     endif
  22.   endif
  23.   if not EXISTS fonts:fixplain7.font
  24.     echo "No existing fixplain7.font, installing fixplain7 font..."
  25.     copy fonts/fixplain7.font fonts:
  26.     copy fonts/fixplain7 fonts:fixplain7 all
  27.   else
  28.     echo "Found an existing fixplain7.font in your FONTS: directory."
  29.     ask "Do you wish to replace it with this version of the font? [y/n]"
  30.       if WARN
  31.         echo "Updating fixplain7 font..."
  32.     copy fonts/fixplain7.font fonts:
  33.     copy fonts/fixplain7 fonts:fixplain7 all
  34.       else
  35.         echo "Font unchanged."
  36.       endif
  37.     endif
  38.   endif
  39.   if not EXISTS fonts:hires-5a.font
  40.     echo "No existing hires-5a.font, installing hires-5a font..."
  41.     copy fonts/hires-5a.font fonts:
  42.     copy fonts/hires-5a fonts:hires-5a all
  43.   else
  44.     echo "Found an existing hires-5a.font in your FONTS: directory."
  45.     ask "Do you wish to replace it with this version of the font? [y/n]"
  46.       if WARN
  47.         echo "Updating hires-5a font..."
  48.     copy fonts/hires-5a.font fonts:
  49.     copy fonts/hires-5a fonts:hires-5a all
  50.       else
  51.         echo "Font unchanged."
  52.       endif
  53.     endif
  54.   endif
  55. endif
  56.  
  57. echo "All Done.  Click close gadget to get rid of window."
  58. endcli
  59.