From: Jeremy Allison Date: Fri, 27 Apr 2001 19:03:29 +0000 (+0000) Subject: Patch from Frédéric Blanc to correctly uninstall X-Git-Tag: samba-2.2.5pre1~2087^2~159 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=231f1f44c314d5d614c9f2745a108839a26cfc0d;p=thirdparty%2Fsamba.git Patch from Frédéric Blanc to correctly uninstall codepages. Jeremy. --- diff --git a/source/script/uninstallcp.sh b/source/script/uninstallcp.sh index bd7013c358f..2a9e9d509ab 100755 --- a/source/script/uninstallcp.sh +++ b/source/script/uninstallcp.sh @@ -10,13 +10,13 @@ if [ ! -d $CPDIR ]; then fi for p in $*; do - if [ ! -f $CPDIR/codepage.$p ]; then - echo $CPDIR/codepage.$p does not exist! + if [ ! -f $CPDIR/unicode_map.$p ]; then + echo $CPDIR/unicode_map.$p does not exist! else - echo Removing $CPDIR/codepage.$p - rm -f $CPDIR/codepage.$p - if [ -f $CPDIR/codepage.$p ]; then - echo Cannot remove $CPDIR/codepage.$p... does $USER have privileges? + echo Removing $CPDIR/unicode_map.$p + rm -f $CPDIR/unicode_map.$p + if [ -f $CPDIR/unicode_map.$p ]; then + echo Cannot remove $CPDIR/unicode_map.$p... does $USER have privileges? fi fi done