home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Languages / python / python-1.4-MIHS-no_headers / Python-bin.pkg / real_pre_install < prev   
Encoding:
Text File  |  1996-11-13  |  437 b   |  21 lines

  1. #!/bin/sh
  2. PACKAGE=$1
  3. INSTALLDIR=$2
  4. # Remove any previously installed script
  5. oldlibrarydir=$INSTALLDIR/lib/python
  6. if [ -d $oldlibrarydir ]
  7. then
  8.     echo
  9.     echo -n "    Removing previous scripts from $oldlibrarydir ... "
  10.     /bin/rm -rf $oldlibrarydir
  11. fi
  12. oldlibrarydir=$INSTALLDIR/lib/python1.4
  13. if [ -d $oldlibrarydir ]
  14. then
  15.     echo
  16.     echo -n "    Removing previous scripts from $oldlibrarydir ... "
  17.     /bin/rm -rf $oldlibrarydir
  18. fi
  19. echo "OK."
  20. exit 0
  21.