From: gyeongseok.seo Date: Wed, 17 Oct 2012 02:40:06 +0000 (+0900) Subject: [Title] Added web cli 'symbolic link file' X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9c2d1172517c482ec4b35d22bdb29e724116eb1;p=sdk%2Ftools%2Fcli.git [Title] Added web cli 'symbolic link file' [Desc.] link file created in '~/tizen-sdk/tools' directory [Issue] redmine 7217 Change-Id: Ia3c5251e26f1ceb0b09b6abf2573273958f1c147 --- 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 ###