diff options
author | Munkyu Im <munkyu.im@samsung.com> | 2016-06-17 13:48:57 +0900 |
---|---|---|
committer | Munkyu Im <munkyu.im@samsung.com> | 2016-06-17 14:43:18 +0900 |
commit | 8bb29e4221054a86f45a7ef18191c82938bb0d79 (patch) | |
tree | 925bf5138ab07de6e93ab2ae66a0a7ae00521d10 /package | |
parent | b3a64e81ca3af8e2b3a6dce1c8684c6f11d3e0d3 (diff) | |
download | tuntaposx-8bb29e4221054a86f45a7ef18191c82938bb0d79.tar.gz tuntaposx-8bb29e4221054a86f45a7ef18191c82938bb0d79.tar.bz2 tuntaposx-8bb29e4221054a86f45a7ef18191c82938bb0d79.zip |
tap: revert install script
It was removed accidentally from older commit.
Change-Id: Ifb60c90461ebea7620e63b84a3629e41e279b5af
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Diffstat (limited to 'package')
-rwxr-xr-x | package/tuntaposx.install.macos-64 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/tuntaposx.install.macos-64 b/package/tuntaposx.install.macos-64 new file mode 100755 index 0000000..88287d8 --- /dev/null +++ b/package/tuntaposx.install.macos-64 @@ -0,0 +1,16 @@ +#!/bin/sh -e +TIZEN_SDK_INSTALL_PATH="`echo $INSTALLED_PATH`" +TIZEN_TOOL_ETC_PATH=$TIZEN_SDK_INSTALL_PATH/tools/emulator/etc + +if [ -f "${TIZEN_TOOL_ETC_PATH}/tap.zip" ];then + ditto -x -k "${TIZEN_TOOL_ETC_PATH}/tap.zip" "${TIZEN_TOOL_ETC_PATH}" + rm -f "${TIZEN_TOOL_ETC_PATH}/tap.zip" +else + echo "\"${TIZEN_TOOL_ETC_PATH}\"/tap.zip does not exist!" + exit 1 +fi + +if [ ! -d "${TIZEN_TOOL_ETC_PATH}/tap.kext" ];then + echo "tap.kext directory does not exist!" + exit 1 +fi |