summaryrefslogtreecommitdiff
path: root/package/tidlc.install.darwin
diff options
context:
space:
mode:
Diffstat (limited to 'package/tidlc.install.darwin')
-rwxr-xr-xpackage/tidlc.install.darwin16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/tidlc.install.darwin b/package/tidlc.install.darwin
new file mode 100755
index 0000000..e280e0e
--- /dev/null
+++ b/package/tidlc.install.darwin
@@ -0,0 +1,16 @@
+#!/bin/bash -x
+
+s=`cat ${HOME}/.bashrc | grep -n "## Tizen SDK configuration" | cut -f1 -d":"`
+
+if [ "x${s}" = "x" ] ; then
+ cat >> ${HOME}/.bashrc << END
+## Tizen SDK configuration
+# This is generated by Tizen SDK. Please do not modify by yourself.
+export PATH=\$PATH:${INSTALLED_PATH}/tools
+## End Tizen SDK configuration
+END
+fi
+
+source ${HOME}/.bashrc
+
+exit 0