home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff369.lzh / Fortune / fortune.install < prev    next >
Text File  |  1990-08-15  |  1KB  |  46 lines

  1. ; execute this file to install the fortune program in your sys: directories.
  2. ;
  3. ; The directory where the file are, must be the current directory.
  4. ;
  5. ; at the prompt, enter     execute fortune.install <enter>
  6. ;
  7.  
  8. if not exists sys:c
  9.    echo "*n*n  ERROR:  Can't find the sys:c directory.*n*n"
  10.    quit
  11.    endif
  12. if not exists sys:s
  13.    echo "*n*n  ERROR:  Can't find the sys:s directory.*n*n"
  14.    quit
  15.    endif
  16. if not exists fortune
  17.    echo "*n*n  ERROR:  Can't find the fortune program.*n*n"
  18.    quit
  19.    endif
  20. if not exists fortunes
  21.    echo "*n*n  ERROR:  Can't find the fortunes file.*n*n"
  22.    quit
  23.    endif
  24.  
  25. ask "*n*n*n*n  Ready to install fortune, continue? [ y n ] "
  26. if warn
  27.    copy fortune sys:c
  28.    copy fortunes sys:s
  29.    else
  30.    echo "*n*n*n  Fortune was not installed by user request.*n*n*n"
  31.    quit
  32.    endif
  33.  
  34. echo "*n*n*n*n  Fortune has been installed!"
  35. echo "*n  Simply type - fortune - at the CLI prompt and a fortune will be displayed.*n*n*n"
  36. wait 2
  37. echo " Like this......*n*n*n"
  38. echo " fortune <enter>*n"
  39. fortune 
  40. wait 2
  41. echo " or try it like this:  fortune -l <enter>*n"
  42. fortune -l
  43. echo "*n*n*n Maybe you like orange lines instead of black:  fortune -3 <enter>"
  44. fortune -3
  45. echo "*n*nComplete, enjoy..........*n"
  46.