home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SoftPC 4.10
/
SoftPC4.10.iso
/
SoftPC.pkg
/
SoftPC.pre_install
< prev
next >
Wrap
Text File
|
1995-10-26
|
1KB
|
49 lines
#!/bin/sh
#[
# Name: SoftPC.pre_install
# Derived From: 68k version
# Author: Philippa Guthrie
# Created On: 29 July 1993
# Sccs ID: %G% %W%
# Purpose: Run necessary pre-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 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., 1993. All rights reserved.
#
# Rcs ID block:
# $Source: /engsup/mp125/NeXT4.1/mp/RCStree/./host/install/SoftPC.pre_install,v $
# $Revision: 1.1 $
# $Date: 93/07/29 18:03:03 $
# $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