home *** CD-ROM | disk | FTP | other *** search
/ OneVision 3.03 / OneVision3.03.iso / OneVision / Tools / PrepPatch.pkg / PrepPatch.post_install < prev    next >
Encoding:
Text File  |  1995-10-09  |  398 b   |  19 lines

  1. #! /bin/sh
  2. echo Exec PrepPatch.post_install
  3. if [ -f $2/PrepPatch.app/pspatch ]; then
  4.     echo SetUID for  $2/PrepPatch.app/pspatch 
  5.     /etc/chown root $2/PrepPatch.app/pspatch
  6.     if [ ! $? -eq 0 ]; then    
  7.         echo chown root not successfull    
  8.         exit 1
  9.     fi
  10.     chmod u+s $2/PrepPatch.app/pspatch
  11.     if [ ! $? -eq 0 ]; then    
  12.         echo chmod not successfull    
  13.         exit 1
  14.     fi
  15. fi
  16. echo PrepPatch.post_install ... OK.
  17. exit 0
  18.  
  19.