From 61fdf88150578981b47e9b74e181d71335005d66 Mon Sep 17 00:00:00 2001 From: Soyoung Kim Date: Thu, 24 Jan 2013 15:29:18 +0900 Subject: [PATCH] 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 --- etc/wrt_commons_reset_db.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.34.1