From: Soyoung Kim Date: Thu, 24 Jan 2013 06:29:18 +0000 (+0900) Subject: change pkgname to appid PART 2. X-Git-Tag: submit/trunk/20130128.084643~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61fdf88150578981b47e9b74e181d71335005d66;p=platform%2Fframework%2Fweb%2Fwrt-commons.git change pkgname to appid PART 2. [Issue#] N/A [Problem] remain pkgname in script [Cause] N/A [Solution] fixed pkgname to appid in wrt_commons_reset_db.sh [SCMRequest] N/A --- diff --git a/etc/wrt_commons_reset_db.sh b/etc/wrt_commons_reset_db.sh index 940af1f..8cf5c7a 100755 --- a/etc/wrt_commons_reset_db.sh +++ b/etc/wrt_commons_reset_db.sh @@ -25,11 +25,11 @@ PLUGINS_INSTALLATION_REQUIRED=plugin-installation-required if [ -f ${WRT_DB} ] then - PKG_NAME_SET=$(sqlite3 $WRT_DB 'select pkgname from WidgetInfo;') - for pkgname in $PKG_NAME_SET + PKG_NAME_SET=$(sqlite3 $WRT_DB 'select tizen_appid from WidgetInfo;') + for appid in $PKG_NAME_SET do - rm -rf ${WIDGET_EXEC_PATH}${pkgname} - widget_desktop_file="${WIDGET_DESKTOP_PATH}${pkgname}.desktop"; + rm -rf ${WIDGET_EXEC_PATH}${appid} + widget_desktop_file="${WIDGET_DESKTOP_PATH}${appid}.desktop"; if [ -f ${widget_desktop_file} ]; then rm -f $widget_desktop_file; fi