|
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 - download
Length: 1764 (0x6e4) Types: TextFile Notes: UNIX file Names: »UNINSTALL«
└─⟦fdc69b24d⟧ Bits:30004152 SW95705I 386/ix Multi User Update 1 └─⟦fdc69b24d⟧ UNIX Filesystem └─ ⟦this⟧ »install/UNINSTALL«
# # Copyrighted as an unpublished work. # (c) Copyright 1987 INTERACTIVE Systems Corporation # All rights reserved. # # RESTRICTED RIGHTS # # These programs are supplied under a license. They may be used, # disclosed, and/or copied only as permitted under such license # agreement. Any copy must contain the above copyright notice and # this restricted rights notice. Use, copying, and/or disclosure # of the programs is strictly prohibited unless otherwise provided # in the license agreement. # #ident "@(#)UNINSTALL.sh 1.2 - 88/07/18" # # 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/install/$pkg.name` FREL=`cut -f2 -d'-' /install/$pkg/install/$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