summaryrefslogtreecommitdiff
path: root/install.sh
blob: 503847ea1771ced872f56653e7d53e800e0c1b62 (plain)
1
2
3
4
5
6
7
8
9
10
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