summaryrefslogtreecommitdiff
path: root/community/golangide/golangide.sh
diff options
context:
space:
mode:
Diffstat (limited to 'community/golangide/golangide.sh')
-rw-r--r--community/golangide/golangide.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/golangide/golangide.sh b/community/golangide/golangide.sh
new file mode 100644
index 000000000..486c8590b
--- /dev/null
+++ b/community/golangide/golangide.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ ! -z $GOROOT -a -e $GOROOT ]; then
+ /usr/bin/liteide
+else
+ GOROOT=/usr/lib/go /usr/bin/liteide
+fi