merge busybox and busybox_root, set SUID bit on busybox
[busybox-power] / debian / scripts / uninstall-binary.sh
index 263f6ba..fff462a 100755 (executable)
@@ -5,16 +5,12 @@
 # a) created by the installer script ("install-binary.sh")
 # b) not replaced by a binary (i.e. they are still a symbolic link)
 # c) pointing to a busybox binary
-
-# By Dennis Groenen <dennis_groenen@hotmail.com>
+#
+# By Dennis Groenen <tj.groenen@gmail.com>
 # GPLv3 licensed
-
-# Version 0.3 06-03-2011 (MM-DD-YYYY)
-# 0.1: Initial release
-# 0.2: Minor clean-ups and be quieter
-# 0.3: Add support for multiple environments
-#      Make use of functions in this script
-#      Implement additional checks
+#
+# Last updated: 11-22-2011 (MM-DD-YYYY)
+# 
 
 INSTALLDIR="/opt/busybox-power"
 EXECPWR="$INSTALLDIR/busybox.power"
@@ -178,8 +174,8 @@ UNSYMLINK() {
            then
              if test -n "`ls -l $DIR/$APP | grep busybox`" # Check if the symbolic link points to busybox
                then
-                 if test $VERBOSE == 1; then echo "Removing link: $DIR/$APP"; fi
-                 rm $DIR/$APP
+                  if test $VERBOSE == 1; then echo "Removing link: $DIR/$APP"; fi
+                  rm $DIR/$APP
              fi
           fi
       done