add install script

This commit is contained in:
Iris Lightshard 2021-08-23 14:30:27 -06:00
parent 3d3e741446
commit 0c0fe41644
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

11
install.sh Executable file
View file

@ -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