home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / Frameworks / Perl-5.004_04.3-MIS / Perl.pkg / Perl.post_install < prev    next >
Encoding:
Text File  |  1998-04-24  |  312 b   |  24 lines

  1. #!/bin/sh
  2.  
  3. PKG_DIR=$1
  4. INSTALL_DIR=${2-/LocalLibrary/Frameworks}
  5. LINK_DIR=/usr/local/bin
  6. PWD=`pwd`
  7.  
  8. # Let's make a few symbolic links in LINK_DIR 
  9. LINKS='perl perl5 perl5.00404'
  10.  
  11. echo
  12.  
  13. set -x
  14. cd $LINK_DIR
  15. for prog in $LINKS ;   do
  16.   rm -f $prog
  17.   ln -s $2/Perl.framework/bin/$prog
  18. done
  19. set -
  20.  
  21. cd $PWD
  22.  
  23. echo done.
  24.