2.2.0: "make uninstall" doesn't uninstall codepages files
Frédéric Blanc
el_blaf at yahoo.fr
Fri Apr 27 12:38:54 GMT 2001
Hello,
uninstallcp.sh script does not uninstall
the files that the installcp.sh script installs:
installcp.sh installs files named unicode_map.*
whereas uninstallcp.sh uninstall files named
codepage.* !
Following is the diff result between the standard
uninstallcp.sh script and my corrected uninstallcp.sh:
diff -u uninstallcp.sh uninstallcp.sh.patched
--- uninstallcp.sh Fri Apr 27 16:08:55 2001
+++ uninstallcp.sh.patched Fri Apr 27 16:29:04 2001
@@ -10,13 +10,13 @@
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
___________________________________________________________
Do You Yahoo!? -- Pour faire vos courses sur le Net,
Yahoo! Shopping : http://fr.shopping.yahoo.com
More information about the samba-technical
mailing list