From 83034a6fea61f9062b56441bd2c25522ad9e944d Mon Sep 17 00:00:00 2001 From: Taejeong Lee Date: Fri, 25 Jan 2013 21:50:29 +0900 Subject: [PATCH] Revert "change pkgname to appid PART 2." This reverts commit 70be5ceaf442eac4105a0e45ea39a1b63bb67b0e. Change-Id: Ia590d04ced8298127de2c8cd93ecc3d1b3233fba --- 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 8cf5c7a..940af1f 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 tizen_appid from WidgetInfo;') - for appid in $PKG_NAME_SET + PKG_NAME_SET=$(sqlite3 $WRT_DB 'select pkgname from WidgetInfo;') + for pkgname in $PKG_NAME_SET do - rm -rf ${WIDGET_EXEC_PATH}${appid} - widget_desktop_file="${WIDGET_DESKTOP_PATH}${appid}.desktop"; + rm -rf ${WIDGET_EXEC_PATH}${pkgname} + widget_desktop_file="${WIDGET_DESKTOP_PATH}${pkgname}.desktop"; if [ -f ${widget_desktop_file} ]; then rm -f $widget_desktop_file; fi -- 2.7.4