#!/bin/sh

#	removeit
#
#	Derived from:	Template supplied by SGI for hot mix installation
#
#	Author:		Anthony Shaughnessy
#
#	Created on:	15th June 1993
#
#	Sccs ID:	@(#)removeit.sh	1.3 8/12/93
#
#	Coding Stds.:	2.0
#
#	Purpose:	To remove SoftPC. The script opens a window in which
#			it will run the RemoveIt2 script as root. This is
#			supposed to be called when the user presses the remove
#			button from the hot mix CD.
#

# Change the value of SOFTPCDIR to whatever is relevant for SoftPC on the
# hot mix CD. The scripts
# must be held in the same directory as the SoftPC package files. We have not
# been told by SGI what this directory should be, and so we must leave it to 
# them to change this value.
SOFTPCDIR=${SOFTPCDIR:=$HOTMIXDIR/demos/MAC_PC/Insignia}	export SOFTPCDIR

	xwsh -bg royalblue -fg white -fn a16 \
        -geom 80x20+100+100 -cursorfg violetred1 -cursorbg violetred1 \
        -title "Remove SoftPC" \
        -e /bin/sh -c \
        "echo You must be root to remove SoftPC...; \
        cd $SOFTPCDIR ;\
        su root -c './RemoveIt2'"

