diff options
author | Derek Stevens <nilix@nilfm.cc> | 2021-08-23 14:30:27 -0600 |
---|---|---|
committer | Derek Stevens <nilix@nilfm.cc> | 2021-08-23 14:30:27 -0600 |
commit | 0c0fe416449bb3a05f6ee9c28cd1f48bd3ac53ba (patch) | |
tree | ee1e26fd360029c4873fac5a5d845384a1fe6c5c /install.sh | |
parent | 3d3e74144663a4e32e0196baafc831834817d867 (diff) |
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 11 |
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 |