[maemo-commits] [maemo-commits] r17377 - in projects/haf/trunk/osso-app-killer: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Feb 9 13:25:15 EET 2009
Author: schulhof
Date: 2009-02-09 13:24:53 +0200 (Mon, 09 Feb 2009)
New Revision: 17377

Modified:
   projects/haf/trunk/osso-app-killer/debian/changelog
   projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh
   projects/haf/trunk/osso-app-killer/src/osso-app-killer-rfs.sh
Log:
New version

Modified: projects/haf/trunk/osso-app-killer/debian/changelog
===================================================================
--- projects/haf/trunk/osso-app-killer/debian/changelog	2009-02-09 11:16:22 UTC (rev 17376)
+++ projects/haf/trunk/osso-app-killer/debian/changelog	2009-02-09 11:24:53 UTC (rev 17377)
@@ -2,6 +2,7 @@
 
   * SUW code is unnecessary. It should be done by SUW cud script.
   * BT device name reset in osso-app-killer-common.sh is unnecessary. It should be done by cud and rfs scripts.
+  * Don't check for free space when removing ~/.osso
 
  -- Gabriel Schulhof <gabriel.schulhof at nokia.com>  Tue, 13 Jan 2009 13:40:19 +0200
 

Modified: projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh
===================================================================
--- projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh	2009-02-09 11:16:22 UTC (rev 17376)
+++ projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh	2009-02-09 11:24:53 UTC (rev 17377)
@@ -72,13 +72,7 @@
   OLDDIR=`pwd`
   if [ -d /home/user/.osso ]; then
     cd /home/user/.osso
-    # only remove if there is certain amount of free space
-    FREE=`df | grep " /$" | awk '{print $4}'`
-    if [ $FREE -gt 3500 ]; then
-      rm -rf *
-    else
-      echo "$0: Not enough free space to safely remove .osso"
-    fi
+    rm -rf *
   fi  
 
   cd $HOME/.osso-cud-scripts ;# this location should be deprecated

Modified: projects/haf/trunk/osso-app-killer/src/osso-app-killer-rfs.sh
===================================================================
--- projects/haf/trunk/osso-app-killer/src/osso-app-killer-rfs.sh	2009-02-09 11:16:22 UTC (rev 17376)
+++ projects/haf/trunk/osso-app-killer/src/osso-app-killer-rfs.sh	2009-02-09 11:24:53 UTC (rev 17377)
@@ -44,13 +44,7 @@
   OLDDIR=`pwd`
   if [ -d /home/user/.osso ]; then
     cd /home/user/.osso
-    # only remove if there is certain amount of free space
-    FREE=`df | grep " /$" | awk '{print $4}'`
-    if [ $FREE -gt 3500 ]; then
-      rm -rf *
-    else
-      echo "$0: Not enough free space to safely remove .osso"
-    fi
+    rm -rf *
   fi  
 
   cd /etc/osso-rfs-scripts


More information about the maemo-commits mailing list