home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SoftPC 4.10
/
SoftPC4.10.iso
/
SoftPC.pkg
/
SoftPC.post_install
< prev
next >
Wrap
Text File
|
1995-10-26
|
1KB
|
48 lines
#!/bin/sh
#[
# Name: SoftPC.post_install
# Derived From: Original
# Author: Philippa Guthrie
# Created On: 29 July 1993
# Sccs ID: %G% %W%
# Purpose: Run necessary post-installation for NEXTSTEP
# 486 SoftPC 3.00.
# Usage: Called automatically by the Installer before
# installation. Two arguments are provided: the
# first is the absolute pathname of the installer
# package where this script lives. The second
# argument is the absolute pathname of the
# location where the contents of this package
# will be installed.
#
# (c)Copyright Insignia Solutions Ltd., 1993. All rights reserved.
#
# Rcs ID block:
# $Source: /engsup/mp125/NeXT4.1/mp/RCStree/./host/install/SoftPC.post_install,v $
# $Revision: 1.3 $
# $Date: 93/09/02 14:08:34 $
# $Author: pjw $
#]
#
# Messages (these conform to the requirements in Concepts/Installer.rtf).
#
E_OK="OK"
E_FAILED="FAILED"
#
# Enable the executable and report the result.
#
$2/SoftPC.app/unlock $2/SoftPC.app/SoftPC
if test $? -ne 0
then
echo $E_FAILED
rm $2/SoftPC.app/unlock
exit 1
else
echo $E_OK
rm $2/SoftPC.app/unlock
exit 0
fi