From a9c2d1172517c482ec4b35d22bdb29e724116eb1 Mon Sep 17 00:00:00 2001 From: "gyeongseok.seo" Date: Wed, 17 Oct 2012 11:40:06 +0900 Subject: [PATCH] [Title] Added web cli 'symbolic link file' [Desc.] link file created in '~/tizen-sdk/tools' directory [Issue] redmine 7217 Change-Id: Ia3c5251e26f1ceb0b09b6abf2573273958f1c147 --- package/web-cli.install.linux | 14 ++++++++++++++ package/web-cli.remove.linux | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100755 package/web-cli.install.linux create mode 100755 package/web-cli.remove.linux diff --git a/package/web-cli.install.linux b/package/web-cli.install.linux new file mode 100755 index 0000000..f341ff0 --- /dev/null +++ b/package/web-cli.install.linux @@ -0,0 +1,14 @@ +#!/bin/bash -x + +## Do not modify the followings (Make desktop menu) +TIZEN_SDK_INSTALL_PATH=${INSTALLED_PATH} +tools_path=${TIZEN_SDK_INSTALL_PATH}/tools +cli_path=${tools_path}/ide/bin + +## web-cli symbolic link +for CLI_CMD in `ls ${cli_path}`; do + ln -s ${cli_path}/${CLI_CMD} -t ${tools_path} +done +rm -rf ${tools_path}/common.sh + +exit 0 diff --git a/package/web-cli.remove.linux b/package/web-cli.remove.linux new file mode 100755 index 0000000..fa134ee --- /dev/null +++ b/package/web-cli.remove.linux @@ -0,0 +1,10 @@ +#!/bin/bash -xe + +## Remove web-cli symbolic link files +TIZEN_SDK_INSTALL_PATH=${INSTALLED_PATH} +tools_path=${TIZEN_SDK_INSTALL_PATH}/tools + +rm -rf ${tools_path}/web-* +rm ${tools_path}/webtizen + +### End ### -- 2.7.4