summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..503847e
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ $(whoami) != "root" ]; then
+ mkdir -p ~/bin/
+ cp kyanite.sh ~/bin/kyanite
+ echo "kyanite has been installed to '${HOME}/bin/';"
+ echo "You may want to add it to your PATH."
+else
+ cp kyanite.sh /usr/bin/kyanite
+ echo "kyanite has been installed to '/usr/bin/';"
+fi