DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦890e4d788⟧ TextFile

    Length: 772 (0x304)
    Types: TextFile
    Notes: UNIX file
    Names: »Remove«

Derivation

└─⟦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« 

TextFile

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