home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume23 / crack / part01 / Scripts / do_install < prev    next >
Encoding:
Text File  |  1991-09-22  |  508 b   |  33 lines

  1. #!/bin/sh
  2.  
  3. ###
  4. # This program written by ADE Muffett (aem@aber.ac.uk), August 1991,
  5. # as part of the 'Crack' password cracking package.
  6. ###
  7.  
  8. crack_arch=$1
  9.  
  10. cd $CRACK_HOME || exit 1
  11.  
  12. ###
  13. # Is there a binaries directory ?
  14. ###
  15.  
  16. if [ ! -d $crack_arch ]
  17. then
  18.     mkdir $crack_arch || exit 1
  19. fi
  20.  
  21. cd $crack_arch || exit 1                        # Can we get there from here ?
  22.  
  23. ###
  24. # Install makefiles in our directory if necessary.
  25. ###
  26.  
  27. if [ ! -f Makefile ]
  28. then
  29.     cp $CRACK_HOME/Scripts/install.mf Makefile
  30. fi
  31.  
  32. exit 0
  33.