home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 593a.lha / Analyzer / InstallFont < prev    next >
Text File  |  1991-12-22  |  772b  |  31 lines

  1. .K ""
  2. ; Script file to copy the analyzer font to the system font directory.
  3. ;
  4. ; If the font already exists do nothing.
  5. ;
  6.  
  7. echo "This script will install the analyzer font in your fonts: directory."
  8.  
  9. ask "Do you wish to continue with the installation? [y/n]"
  10. if WARN
  11.     if exists fonts:analyzer/6
  12.         echo "The analyzer font is already installed."
  13.     else
  14.         ;
  15.         ; Copy the fonts to the system font directory
  16.         ;   - if the analyzer font directory exists, copy the font
  17.         ;     file and use FixFonts.
  18.         ;   - else copy the font file and the font description file.
  19.         ;
  20.         if exists fonts:analyzer
  21.             copy fonts/analyzer fonts:analyzer all
  22.             sys:system/FixFonts
  23.         else
  24.             copy fonts fonts: all
  25.         endif
  26.     endif
  27. endif
  28.  
  29. echo "All Done.  Click close gadget to get rid of window."
  30. endcli
  31.