package: modified install and remove scripts.
authorKitae Kim <kt920.kim@samsung.com>
Thu, 11 Jul 2013 06:50:38 +0000 (15:50 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Tue, 16 Jul 2013 10:48:38 +0000 (19:48 +0900)
modifed messages in the gksudo dialog when installing and removing SDK.

Change-Id: Ie9787a1d95c2a8456d2dd938c22baf1afff5fe60
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
package/emulator-qemu-x86.install.ubuntu-32
package/emulator-qemu-x86.install.ubuntu-64
package/emulator-qemu-x86.remove.ubuntu-32
package/emulator-qemu-x86.remove.ubuntu-64

index fc6d5b1d23c77fd66ab325cc98d60d51e86548a6..3d85df07139a9c830889d39d9e8083e9e0c2e46a 100755 (executable)
@@ -17,7 +17,9 @@ chmod +x $TMP_FILE
 
 if [ "$TSUDO" != "" ] # since installer v2.27
 then
-       $TSUDO ./$TMP_FILE -m "It is required to enable kvm module."
+       TSUDO_MSG="Enter your password to enable kvm module if your machine supports hardware virtualization."
+       TMP_PATH="`pwd`/${TMP_FILE}"
+       $TSUDO -m "${TSUDO_MSG}" sh $TMP_PATH
 else
        GKSUDO=`which gksudo`
        if [ "$GKSUDO" = "" ]
index fc6d5b1d23c77fd66ab325cc98d60d51e86548a6..3d85df07139a9c830889d39d9e8083e9e0c2e46a 100755 (executable)
@@ -17,7 +17,9 @@ chmod +x $TMP_FILE
 
 if [ "$TSUDO" != "" ] # since installer v2.27
 then
-       $TSUDO ./$TMP_FILE -m "It is required to enable kvm module."
+       TSUDO_MSG="Enter your password to enable kvm module if your machine supports hardware virtualization."
+       TMP_PATH="`pwd`/${TMP_FILE}"
+       $TSUDO -m "${TSUDO_MSG}" sh $TMP_PATH
 else
        GKSUDO=`which gksudo`
        if [ "$GKSUDO" = "" ]
index 9f944282ed10412e53966ea709565ae762863905..3e4009c9f8ffac1d0126b18209f5b4e99f6927d3 100755 (executable)
@@ -16,7 +16,9 @@ chmod +x $TMP_FILE
 
 if [ "$TSUDO" != "" ] # since installer v2.27
 then
-       $TSUDO ./$TMP_FILE -m "It is required to disable kvm module."
+       TSUDO_MSG="Enter your password to remove /etc/init.d/tizen-kvm."
+       TMP_PATH="`pwd`/${TMP_FILE}"
+       $TSUDO -m "${TSUDO_MSG}" sh $TMP_PATH
 else
        GKSUDO=`which gksudo`
        if [ "$GKSUDO" = "" ]
index 9f944282ed10412e53966ea709565ae762863905..3e4009c9f8ffac1d0126b18209f5b4e99f6927d3 100755 (executable)
@@ -16,7 +16,9 @@ chmod +x $TMP_FILE
 
 if [ "$TSUDO" != "" ] # since installer v2.27
 then
-       $TSUDO ./$TMP_FILE -m "It is required to disable kvm module."
+       TSUDO_MSG="Enter your password to remove /etc/init.d/tizen-kvm."
+       TMP_PATH="`pwd`/${TMP_FILE}"
+       $TSUDO -m "${TSUDO_MSG}" sh $TMP_PATH
 else
        GKSUDO=`which gksudo`
        if [ "$GKSUDO" = "" ]