From: Soyoung Kim Date: Wed, 21 Nov 2012 09:14:05 +0000 (+0900) Subject: Fixed can't remove preinstall widget during booting X-Git-Tag: submit/trunk/20121127.081109~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=579fd4e5a82f00018a3a487724828748a1e55339;p=platform%2Fframework%2Fweb%2Fwrt-installer.git Fixed can't remove preinstall widget during booting [Issue#] N/A [Problem] preinstall widget can't be removed after booting. [Cause] N/A [Solution] Fixed wrt_preinstall_widgets.sh script. [SCMRequest] N/A Change-Id: I5cc44a0dda6acb8718d3236af7eb5875d1501793 --- diff --git a/etc/wrt_preinstall_widgets.sh b/etc/wrt_preinstall_widgets.sh index 66c5515..5b36b0c 100755 --- a/etc/wrt_preinstall_widgets.sh +++ b/etc/wrt_preinstall_widgets.sh @@ -24,7 +24,7 @@ install_widgets() { do echo "Install $list" return_string=`wrt-installer -i $list` - if [ `expr match "$return_string" 'installed'` -gt 0 ]; then + if [ "$return_string" != "${return_string/installed/}" ]; then echo "$list widget installation success" rm -rf $list else