1#!/bin/sh 2 3CPDIR=$1 4shift 5 6if [ ! -d $CPDIR ]; then 7 echo Directory $CPDIR does not exist! 8 echo Do a "make installcp" or "make install" first. 9 exit 1 10fi 11 12for p in $*; do 13 if [ ! -f $CPDIR/codepage.$p ]; then 14 echo $CPDIR/codepage.$p does not exist! 15 else 16 echo Removing $CPDIR/codepage.$p 17 rm -f $CPDIR/codepage.$p 18 if [ -f $CPDIR/codepage.$p ]; then 19 echo Cannot remove $CPDIR/codepage.$p... does $USER have privileges? 20 fi 21 fi 22done 23 24cat << EOF 25====================================================================== 26The code pages have been uninstalled. You may reinstall them using 27the command "make installcp" or "make install" to install binaries, 28man pages, shell scripts and code pages. You may recover a previous version 29(if any with "make revert"). 30====================================================================== 31EOF 32 33exit 0 34