tizen 2.4 release
[framework/web/wrt-commons.git] / etc / wrt_commons_reset_db.sh
similarity index 85%
rename from etc_wearable/wrt_commons_reset_db.sh
rename to etc/wrt_commons_reset_db.sh
index 6d578c7..c8e6eb0 100755 (executable)
@@ -28,8 +28,6 @@ WIDGET_DESKTOP_PATH=/opt/share/applications/
 SMACK_RULES_PATH=/etc/smack/accesses.d/
 WRT_DB=/opt/dbspace/.wrt.db
 PKGMGR_DB=/opt/dbspace/.pkgmgr_parser.db
-PLUGINS_INSTALLATION_REQUIRED_PATH=/opt/share/widget/
-PLUGINS_INSTALLATION_REQUIRED=plugin-installation-required
 
 if [ -f ${WRT_DB} ]
 then
@@ -60,14 +58,8 @@ fi
 
 /usr/bin/wrt_commons_create_clean_db.sh
 
-#TODO: remove this when switched to wrt-plugins-installer completely
-if [ -e ${PLUGINS_INSTALLATION_REQUIRED_PATH} ] && [ -d ${PLUGINS_INSTALLATION_REQUIRED_PATH} ]
-then
-    /bin/touch ${PLUGINS_INSTALLATION_REQUIRED_PATH}${PLUGINS_INSTALLATION_REQUIRED}
-fi
-
 #update plugins
 if [ -x /usr/bin/wrt-installer ]
 then
     /usr/bin/wrt-installer -p
-fi
+fi
\ No newline at end of file