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

⟦7e300623f⟧ TextFile

    Length: 1227 (0x4cb)
    Types: TextFile
    Notes: UNIX file
    Names: »UNINSTALL«

Derivation

└─⟦2d8654ed6⟧ Bits:30004159 SW95851 RcTekst IV Rel. 1.2 (386/ix)
└─⟦2d8654ed6⟧ UNIX Filesystem
    └─⟦this⟧ »install/UNINSTALL« 
└─⟦5d210af82⟧ Bits:30004156 SW95754I Green Hill Pascal
└─⟦5d210af82⟧ UNIX Filesystem
    └─⟦this⟧ »install/UNINSTALL« 
└─⟦6c3d40b06⟧ Bits:30004150 SW95702I LANCOM 2.1
└─⟦6c3d40b06⟧ UNIX Filesystem
    └─⟦this⟧ »install/UNINSTALL« 
└─⟦a1caab7b4⟧ Bits:30004158 SW95851 RcTekst IV Rel. 1.0 (386/ix)
└─⟦a1caab7b4⟧ UNIX Filesystem
    └─⟦this⟧ »install/UNINSTALL« 
└─⟦bbefdb7d7⟧ Bits:30004157 SW95755I Green Hill C-386
└─⟦bbefdb7d7⟧ UNIX Filesystem
    └─⟦this⟧ »install/UNINSTALL« 

TextFile

#
#       Get the packages on this diskette
#
INSPATH=/install
cwd=`pwd`
cd $INSPATH
set `ls -d ??`
cd $cwd
nbrpkgs=$#
if [ "$nbrpkgs" -eq "1" ]
then
	pkgs=$1
else
	pkgs="$*"
fi
for pkg in $pkgs
do
	PKGNAME=`cut -f1 -d'-' /install/$pkg/new/usr/options/$pkg.name`
	FREL=`cut -f2 -d'-' /install/$pkg/new/usr/options/$pkg.name`
	if [ -s /usr/options/$pkg.name ]
	then
		HREL=`cut -f2 -d'-' /usr/options/$pkg.name`
	else
		HREL=$FREL
	fi

	if [ "$FREL" != "$HREL" ]
	then
		echo "\nThe Version of $PKGNAME on the hard disk"
		echo "is $HREL, which is different than the"
		echo "Version on this floppy ($FREL)"
		echo "The wrong files may be removed."
	fi
	
	echo Remove the ${PKGNAME:-$pkg} package? "(y): \c"
	read resp
	[ "$resp" = "n" -o "$resp" = "N" ] && continue
	#
	#       Remove linked files and invoke unsetup file
	#
	[ -f /install/$pkg/install/unlink ] && /bin/sh /install/$pkg/install/unlink
	[ -f /install/$pkg/install/unsetup ] && /bin/sh /install/$pkg/install/unsetup
	#
	# Remove the files found in the Rlist file from the hard disk.
	#

	echo "The following files are being removed:"
	for i in `cat /install/$pkg/install/Rlist.$pkg`
	do
		echo $i
		rm -fr $i
	done

	echo "The ${PKGNAME} has been removed."
done