home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Executor 2.0
/
executorv2.0.iso
/
nextstep
/
install
< prev
next >
Wrap
Text File
|
1996-08-20
|
781b
|
31 lines
#!/bin/sh
# NOTE: we don't use packages because they are broken with long filenames,
# or at least the package maker that we have is broken with long
if [ x`whoami` != xroot ]; then
echo You are not running as super user.
echo Executor can not be installed.
exit 1
fi
# NOTE: If your system doesn't support which then this script will
# only work properly if it's run from the current directory
this_file=`which $0`
this_dir=`expr $this_file : '\(.*\)/' '|' .`
comm_or_demo=`expr $this_file : '.*\(demo\)' '|' commercial`
tar_file=$this_dir/executor-$comm_or_demo.tar
cd /
if tar xpfv $tar_file ; then
lack_of_nul_command=true
else
echo ' '
echo Some sort of problem seems to have occurred untarring $tar_file
echo Installation FAILED.
exit 1
fi