|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T i
Length: 1658 (0x67a)
Types: TextFile
Names: »install«
└─⟦1e97d88e5⟧ Bits:30000533 8mm tape, Rational 1000, RATIONAL ASIS (AIX) 110.2.4.15
└─⟦this⟧ »./releases/asis.110.2.4.15/install/install«
#!/bin/sh
# @(#)install $Revision: 1.24 $ $Date: 1994/01/17 17:43:24 $
# @(#)linked to get_license_info, add_license_info, start_lm, post_install
# @(#)Copyright(c) 1993,1994 by Rational.
log=install.log
command=`basename $0`
install_dir=`dirname $0`
install_dir=`(cd $install_dir; pwd)`
install_dir_name=`basename $install_dir`
echo "----------------------------------------------------------------" >> $log
if [ "$install_dir_name" != install ]
then
echo "Error: you must be in the install directory to run $command."
exit 1
fi
# Load Rational's shell function library
if [ -r install_lib ]
then
. ./install_lib
else
echo "Error: install_lib not found. The install directory:"
echo " $install_dir"
echo "is not complete."
echo "Was there an error during the initial tape or disk read?"
exit 1
fi
install_dir=`cpath $install_dir`
# Make sure the install directory and the log file are writable by all.
if [ $command != start_lm ]
then
chmod a+w $log 2>/dev/null
chmod a+w $install_dir 2>/dev/null
fi
echo "$command: Started `date`" >> $log
. ./do_$command $* 2>&1 | tee -a $log
if [ $command = get_license_info ]
then
status=`get_var GET_LICENSE_INFO`
if [ "$status" = COMPLETED ]
then
if [ -f license_information ]
then
separator
more license_information
fi
fi
fi
if [ $command = install ]
then
status=`get_var INST_STATUS`
if [ "$status" = COMPLETED ]
then
install_text=`/bin/ls *.inst_text`
if [ -f "$install_text" ]
then
separator
more $install_text
fi
fi
fi