From 0c0fe416449bb3a05f6ee9c28cd1f48bd3ac53ba Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Mon, 23 Aug 2021 14:30:27 -0600 Subject: [PATCH] add install script --- install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 install.sh 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