add install script
This commit is contained in:
parent
3d3e741446
commit
0c0fe41644
1 changed files with 11 additions and 0 deletions
11
install.sh
Executable file
11
install.sh
Executable 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
|
Loading…
Reference in a new issue