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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Apr 21 14:02:18 EEST 2009
Author: schulhof
Date: 2009-04-21 14:02:15 +0300 (Tue, 21 Apr 2009)
New Revision: 18122

Added:
   projects/haf/trunk/osso-app-killer/remove-user-content-cud.sh
Modified:
   projects/haf/trunk/osso-app-killer/debian/changelog
   projects/haf/trunk/osso-app-killer/debian/osso-app-killer.install
   projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh
Log:
Fixing some bugs

Modified: projects/haf/trunk/osso-app-killer/debian/changelog
===================================================================
--- projects/haf/trunk/osso-app-killer/debian/changelog	2009-04-21 10:00:10 UTC (rev 18121)
+++ projects/haf/trunk/osso-app-killer/debian/changelog	2009-04-21 11:02:15 UTC (rev 18122)
@@ -1,3 +1,12 @@
+osso-app-killer (1.29-1) unstable; urgency=low
+
+  * Provide script /etc/osso-cud-scripts/remove-user-content-cud.sh
+    to remove user content during CUD
+  * Fixes: NB#109305 (Unable to delete default files from File manager with clear device option from control panel)
+  * Parially fixes NB#111442 (osso-app-killer-cud.sh shall be checked and refreshed)
+
+ -- Gabriel Schulhof <gabriel.schulhof at nokia.com>  Tue, 21 Apr 2009 11:23:53 +0300
+
 osso-app-killer (1.28-1) unstable; urgency=low
 
   * Skip over /apps/osso/hildon-desktop/applets, and /apps/osso/hildon-home during

Modified: projects/haf/trunk/osso-app-killer/debian/osso-app-killer.install
===================================================================
--- projects/haf/trunk/osso-app-killer/debian/osso-app-killer.install	2009-04-21 10:00:10 UTC (rev 18121)
+++ projects/haf/trunk/osso-app-killer/debian/osso-app-killer.install	2009-04-21 11:02:15 UTC (rev 18122)
@@ -1,2 +1,3 @@
 *.sh /usr/sbin
 ../osso-app-killer.sudoers /etc/sudoers.d
+../remove-user-content-cud.sh /etc/osso-cud-scripts

Added: projects/haf/trunk/osso-app-killer/remove-user-content-cud.sh
===================================================================
--- projects/haf/trunk/osso-app-killer/remove-user-content-cud.sh	2009-04-21 10:00:10 UTC (rev 18121)
+++ projects/haf/trunk/osso-app-killer/remove-user-content-cud.sh	2009-04-21 11:02:15 UTC (rev 18122)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -x
+
+DIR_TO_CLEAR=${HOME}/MyDocs
+
+for rmable in $(ls -A ${DIR_TO_CLEAR}); do
+  rm -rf ${DIR_TO_CLEAR}/${rmable}
+done


Property changes on: projects/haf/trunk/osso-app-killer/remove-user-content-cud.sh
___________________________________________________________________
Name: svn:executable
   + *

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-04-21 10:00:10 UTC (rev 18121)
+++ projects/haf/trunk/osso-app-killer/src/osso-app-killer-cud.sh	2009-04-21 11:02:15 UTC (rev 18122)
@@ -45,12 +45,6 @@
 if [ -x /etc/init.d/hildon-desktop ]; then
   $SUDO /etc/init.d/hildon-desktop stop
 fi
-if [ -x /etc/init.d/metalayer-crawler0 ]; then
-  $SUDO /etc/init.d/metalayer-crawler0 stop
-fi
-if [ -x /etc/init.d/mediaplayer-daemon ]; then
-  $SUDO /etc/init.d/mediaplayer-daemon stop
-fi
 if [ -x /etc/init.d/icd2 ]; then
   $SUDO /etc/init.d/icd2 stop
 fi


More information about the maemo-commits mailing list