home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 March B
/
SCO_CASTOR4RRT.iso
/
qlc1020
/
install
/
preremove
< prev
Wrap
Text File
|
1998-08-19
|
525b
|
22 lines
#ident "@(#)pkg.ihvhba:i386/pkg/ihvhba/qlc1020/preremove 1.1"
CONFDIR=/etc/conf
CONFBIN=${CONFDIR}/bin
for MODULE in $PKGINST
do
${CONFBIN}/idcheck -p ${MODULE}
RES="$?"
if
[ "${RES}" -ne "100" -a "${RES}" -ne "0" ]
then
${CONFBIN}/idinstall -P ${PKGINST} -d ${MODULE} 2>> /tmp/${MODULE}.err
fi
done
sed -e "/^6:1:${PKGINST}:${PKGINST}$/d" /etc/loadmods >/tmp/$$.loadmods
mv /tmp/$$.loadmods /etc/loadmods
removef $PKGINST /etc/loadmods
removef -f $PKGINST
exit 0