SDK might be installed in the OS that does not have x system.
In case of that, script uses sudo instead of gksudo.
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
+* 1.5.7
+- added routine in case that there is no gksudo.
+== Kitae Kim <kt920.kim@samsung.com> 2013-03-08
* 1.5.06
- added tool window style to Key window
== GiWoong Kim <giwoong.kim@samsung.com> 2013-03-08
echo "update-rc.d tizen-kvm defaults" >> $TMP_FILE
chmod +x $TMP_FILE
-gksudo ./$TMP_FILE
+
+GKSUDO=`which gksudo`
+if [ "$GKSUDO" = "" ]
+then
+ echo "there is no gksudo."
+ sudo ./$TMP_FILE
+else
+ gksudo ./$TMP_FILE
+fi
rm $TMP_FILE
echo "update-rc.d tizen-kvm defaults" >> $TMP_FILE
chmod +x $TMP_FILE
-gksudo ./$TMP_FILE
+
+GKSUDO=`which gksudo`
+if [ "$GKSUDO" = "" ]
+then
+ echo "there is no gksudo."
+ sudo ./$TMP_FILE
+else
+ gksudo ./$TMP_FILE
+fi
rm $TMP_FILE
echo "rm -f /lib/udev/rules.d/45-tizen-kvm.rules" >> $TMP_FILE
chmod +x $TMP_FILE
-gksudo ./$TMP_FILE
+
+GKSUDO=`which gksudo`
+if [ "$GKSUDO" = "" ]
+then
+ echo "there is no gksudo."
+ sudo ./$TMP_FILE
+else
+ gksudo ./$TMP_FILE
+fi
rm $TMP_FILE
echo "rm -f /lib/udev/rules.d/45-tizen-kvm.rules" >> $TMP_FILE
chmod +x $TMP_FILE
-gksudo ./$TMP_FILE
+
+GKSUDO=`which gksudo`
+if [ "$GKSUDO" = "" ]
+then
+ echo "there is no gksudo."
+ sudo ./$TMP_FILE
+else
+ gksudo ./$TMP_FILE
+fi
rm $TMP_FILE
-Version: 1.5.06
+Version: 1.5.7
Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
Source: emulator