summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2021-08-23 14:30:27 -0600
committerDerek Stevens <nilix@nilfm.cc>2021-08-23 14:30:27 -0600
commit0c0fe416449bb3a05f6ee9c28cd1f48bd3ac53ba (patch)
treeee1e26fd360029c4873fac5a5d845384a1fe6c5c /install.sh
parent3d3e74144663a4e32e0196baafc831834817d867 (diff)
add install scriptHEADmain
Diffstat (limited to 'install.sh')
-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