home *** CD-ROM | disk | FTP | other *** search
/ SoftPC 4.10 / SoftPC4.10.iso / SoftPC.pkg / SoftPC.post_install < prev    next >
Text File  |  1995-10-26  |  1KB  |  48 lines

  1. #!/bin/sh
  2. #[
  3. #    Name:            SoftPC.post_install
  4. #    Derived From:        Original
  5. #    Author:            Philippa Guthrie
  6. #    Created On:        29 July 1993
  7. #    Sccs ID:        %G% %W%
  8. #    Purpose:        Run necessary post-installation for NEXTSTEP
  9. #                486 SoftPC 3.00.
  10. #    Usage:            Called automatically by the Installer before
  11. #                installation. Two arguments are provided: the
  12. #                first is the absolute pathname of the installer
  13. #                package where this script lives. The second
  14. #                argument is the absolute pathname of the
  15. #                location where the contents of this package
  16. #                will be installed.
  17. #
  18. #    (c)Copyright Insignia Solutions Ltd., 1993. All rights reserved.
  19. #
  20. #    Rcs ID block:
  21. #        $Source: /engsup/mp125/NeXT4.1/mp/RCStree/./host/install/SoftPC.post_install,v $ 
  22. #        $Revision: 1.3 $
  23. #        $Date: 93/09/02 14:08:34 $
  24. #        $Author: pjw $
  25. #]
  26.  
  27. #
  28. # Messages (these conform to the requirements in Concepts/Installer.rtf).
  29. #
  30.  
  31. E_OK="OK"
  32. E_FAILED="FAILED"
  33.  
  34. #
  35. # Enable the executable and report the result.
  36. #
  37. $2/SoftPC.app/unlock $2/SoftPC.app/SoftPC
  38. if test $? -ne 0
  39. then
  40.     echo $E_FAILED
  41.     rm $2/SoftPC.app/unlock
  42.     exit 1
  43. else
  44.     echo $E_OK
  45.     rm $2/SoftPC.app/unlock
  46.     exit 0
  47. fi
  48.