Add remove directory of reload app during wrt_reset_all.sh
authorSoyoung Kim <sy037.kim@samsung.com>
Sun, 21 Apr 2013 12:28:36 +0000 (21:28 +0900)
committerSoyoung Kim <sy037.kim@samsung.com>
Sun, 21 Apr 2013 13:07:59 +0000 (22:07 +0900)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] remove directory about preload app.
[SCMRequest] N/A

etc/wrt_commons_reset_db.sh

index 7236341..fb2d4bf 100755 (executable)
@@ -18,6 +18,7 @@ rm -rf /opt/share/widget/system/*
 
 #Removing of widget desktop icons
 WIDGET_EXEC_PATH=/opt/usr/apps/
+WIDGET_PRELOAD_EXEC_PATH=/usr/apps/
 WIDGET_DESKTOP_PATH=/opt/share/applications/
 WRT_DB=/opt/dbspace/.wrt.db
 PLUGINS_INSTALLATION_REQUIRED_PATH=/opt/share/widget/
@@ -30,6 +31,7 @@ then
     do
         pkgId=`echo "$appid" | cut -f1 -d"."`
         rm -rf ${WIDGET_EXEC_PATH}${pkgId}
+        rm -rf ${WIDGET_PRELOAD_EXEC_PATH}${pkgId}
         widget_desktop_file="${WIDGET_DESKTOP_PATH}${appid}.desktop";
         if [ -f ${widget_desktop_file} ]; then
             rm -f $widget_desktop_file;