Fixed preinstall for plugin
authorSoyoung Kim <sy037.kim@samsung.com>
Thu, 24 Jan 2013 05:21:15 +0000 (14:21 +0900)
committerSoyoung Kim <sy037.kim@samsung.com>
Thu, 24 Jan 2013 05:21:15 +0000 (14:21 +0900)
[Issue#] TDIS-2684
[Problem] plugin installation tasks some times.
[Cause] wrong preinstall command during booting
[Solution] move preinstall command for plugin before checking preinstall widget.
[SCMRequest] N/A

etc/wrt_preinstall_widgets.sh

index 2d7b9d5..1837565 100755 (executable)
@@ -69,13 +69,13 @@ else
 fi
 }
 
+#Plugin installation is temporary code for window SDK
+/usr/bin/wrt-installer -p
+
 if [ ! -d $_working_dir ]; then
        echo "There is no preinstall widget directory - $_working_dir"
     restore_widget
        exit 1
 fi
 
-#Plugin installation is temporary code for window SDK
-/usr/bin/wrt-installer -p
-
 install_widgets