If tizen-kvm-multi script for multi users on a linux machine exists,
those scripts will not install tizen-kvm and not ask administrative permission
because the tizen-kvm-multi script already enable kvm driver before.
Change-Id: I41d5da6a783e7be64ad43d5d5ae6085385ebd98b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
#!/bin/bash -ex
+TIZEN_KVM_SCRIPT="/etc/init.d/tizen-kvm-multi"
+if [ -f ${TIZEN_KVM_SCRIPT} ]
+then
+ echo "tizen-kvm-multi does exist. tizen-kvm does not need to be installed."
+ exit 0;
+fi
+
TIZEN_SDK_INSTALL_PATH=`echo ${INSTALLED_PATH}`
if [ -z ${TIZEN_SDK_INSTALL_PATH} ]
then
#!/bin/bash -ex
+TIZEN_KVM_SCRIPT="/etc/init.d/tizen-kvm-multi"
+if [ -f ${TIZEN_KVM_SCRIPT} ]
+then
+ echo "tizen-kvm-multi does exist. tizen-kvm does not need to be installed."
+ exit 0;
+fi
+
TIZEN_SDK_INSTALL_PATH=`echo ${INSTALLED_PATH}`
if [ -z ${TIZEN_SDK_INSTALL_PATH} ]
then
#!/bin/bash -ex
+TIZEN_KVM_SCRIPT="/etc/init.d/tizen-kvm-multi"
+if [ -f ${TIZEN_KVM_SCRIPT} ]
+then
+ echo "tizen-kvm-multi does exist. tizen-kvm does not need to be uninstalled."
+ exit 0;
+fi
+
TIZEN_SDK_INSTALL_PATH=`echo ${INSTALLED_PATH}`
if [ -z ${TIZEN_SDK_INSTALL_PATH} ]
then
#!/bin/bash -ex
+TIZEN_KVM_SCRIPT="/etc/init.d/tizen-kvm-multi"
+if [ -f ${TIZEN_KVM_SCRIPT} ]
+then
+ echo "tizen-kvm-multi does exist. tizen-kvm does not need to be uninstalled."
+ exit 0;
+fi
+
TIZEN_SDK_INSTALL_PATH=`echo ${INSTALLED_PATH}`
if [ -z ${TIZEN_SDK_INSTALL_PATH} ]
then