home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 March B
/
SCO_CASTOR4RRT.iso
/
ARCdoc
/
install
/
postinstall
< prev
next >
Wrap
Text File
|
1998-08-19
|
2KB
|
54 lines
#ident "@(#)pkg.arcdoc:postinstall 1.00"
# define install/error log files for this script
LOGFILE=/var/adm/log/arcdocins.$$.log
ERRFILE=/var/adm/log/arcdocins.$$.err
# ISL requires that output not go to the screen, so we need to determine
# if we're being installed as part of ISL
ISL_SCRIPT=/etc/inst/scripts/postreboot.sh
POSTREBOOT_SCRIPT=/etc/rc2.d/S02POSTINST
if [ \( -f ${ISL_SCRIPT} \) -o \( -f ${POSTREBOOT_SCRIPT} \) ] ; then
Screen_writable=false
. /isl/ifile
else
Screen_writable=true
fi
# for debugging
echo "Screen_writable=$Screen_writable" >> $LOGFILE 2>> $ERRFILE
# Run the odssi tools on the arcserve html doc
# for debugging
echo "config_help -L en_US.ISO8859-1" >> $LOGFILE 2>> $ERRFILE
if [ "$Screen_writable" = "true" ] ; then
echo -n "Adding SCO ARCserve/Open help topics..."
fi
/usr/man/bin/config_help -L en_US.ISO8859-1 >> $LOGFILE 2>> $ERRFILE
if [ "$Screen_writable" = "true" ] ; then
echo "done."
fi
# Run the odssi tools on the arcserve man pages.
# The "1" indicates that only man section 1 is affected
# by the arcserve man pages.
echo "config_man -L en_US.ISO8859-1 1" >> $LOGFILE 2>> $ERRFILE
if [ "$Screen_writable" = "true" ] ; then # not ISL
echo -n "Adding SCO ARCserve/Open manual pages..."
fi
/usr/man/bin/config_man -L en_US.ISO8859-1 1 >> $LOGFILE 2>> $ERRFILE
if [ "$Screen_writable" = "true" ] ; then # not ISL
echo "done."
fi
# Run the odssi tools to create the arcserve topic view pages
echo "config_views -L en_US.ISO8859-1" >> $LOGFILE 2>> $ERRFILE
if [ "$Screen_writable" = "true" ] ; then
echo -n "Creating SCO ARCserve/Open topic view pages..."
fi
/usr/man/bin/config_views -L en_US.ISO8859-1 >> $LOGFILE 2>> $ERRFILE
if [ "$Screen_writable" = "true" ] ; then
echo "done."
fi
exit 0