--- etoile-0+20060914+dfsg.orig/debian/Camaelon	2007-01-26 18:03:10.000000000 +0200
+++ etoile-0+20060914+dfsg/debian/Camaelon	2007-01-26 18:04:17.000000000 +0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if [ "x${1}" = "x" ]; then
+if [ "${1}" = "" ]; then
     echo "Usage: Camaelon [THEME|Off]"
     echo
     echo "Available themes:"
@@ -10,8 +10,9 @@
 fi
 
 . /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh
-if [ "${1}f" = "Off" ]; then
+if [ "${1}" = "Off" ]; then
     defaults delete NSGlobalDomain GSAppKitUserBundles
+    defaults delete Camaelon Theme
 else
     defaults write NSGlobalDomain GSAppKitUserBundles '("/usr/lib/GNUstep/System/Library/Bundles/Camaelon.themeEngine")'
     defaults write Camaelon Theme ${1}
