home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SoftPC 3.0
/
softpc30_win.iso
/
SoftPC_Pro.pkg
/
SoftPC_Pro.pre_install
< prev
next >
Wrap
Text File
|
1993-02-02
|
1KB
|
50 lines
#!/bin/sh
#[
# Name: SoftPC.pre_install
# Derived From: Original
# Author: Philippa Watson
# Created On: 9 November 1992
# Sccs ID: %G% %W%
# Purpose: Run necessary pre-installation for NeXT 68k
# SoftPC 3.00. This script is used for both
# SoftPC Professional and SoftPC with Windows.
# Usage: Called automatically by the Installer before
# installation. Two arguments are provided: the
# first is the absolute pathname of the installer
# package when this script lives. The second
# argument is the absolute pathname of the
# location where the contents of this package
# will be installed. We use neither but simply
# check that the user is root.
#
# (c)Copyright Insignia Solutions Ltd., 1992. All rights reserved.
#
# Rcs ID block:
# $Source: /usr/vpc/users/support/masterNeXT3.0/host/bin/RCS/./SoftPC.pre_install,v $
# $Revision: 1.1 $
# $Date: 92/11/09 16:04:30 $
# $Author: pjw $
#]
#
# Messages (these conform to the requirements in Concepts/Installer.rtf).
#
E_OK="OK"
E_NOT_ROOT="FAILED (you must be logged in as root to install SoftPC)"
#
# Are we root?
#
if test `whoami` != root
then
echo $E_NOT_ROOT
exit 1
fi
#
# All done.
#
echo $E_OK
exit 0