|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: R T U
Length: 772 (0x304)
Types: TextFile
Notes: UNIX file
Names: »Remove«
└─⟦5a9f1bdbd⟧ Bits:30004698 RC900 Environment Rel. 2.0 (5.25 inch)
└─⟦5a9f1bdbd⟧ UNIX Filesystem
└─⟦this⟧ »RCENV.ISC/install/Remove«
└─⟦de58d8f44⟧ Bits:30004699 RC900 Environment Rel. 2.0 (3.5 inch)
└─⟦de58d8f44⟧ UNIX Filesystem
└─⟦this⟧ »RCENV.ISC/install/Remove«
CONF=/etc/conf
ERROR="An error was encountered during removing the driver, package removal \
cannot be complete"
echo "The following driver(s) is being removed:"
for dname in bbu kd
do
echo "\t$dname"
${CONF}/bin/idcheck -p $dname >/dev/null 2>&1
if [ $? != 0 ]
then
if [ -f ${CONF}/pack.d/$dname/stubs.c ]
then
${CONF}/bin/idinstall -gs $dname | sed -e 's/Y/N/'>System
${CONF}/bin/idinstall -eus $dname
${CONF}/bin/idinstall -dopnirhclz $dname
else
${CONF}/bin/idinstall -d $dname
fi
if [ $? != 0 ]
then
echo $ERROR
exit 1
fi
fi
done
echo "The following files are being removed:"
for i in `cat /usr/lib/installed/Files/RCENV.ISC.name`
do
if test -d $i ; then
rmdir $i 2> /dev/null && echo $i
else
rm -f $i && echo $i
fi
done