Last active
March 8, 2018 03:07
-
-
Save gncabrera/8192846a5ac2b05a003700aa158abd19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Checking it's running as sudo! | |
if [ "$EUID" -ne 0 ] | |
then echo "Please, run the installation as root or with sudo" | |
exit | |
fi | |
apt-get update | |
apt-get install -y git | |
sudo git config --global credential.helper "cache --timeout=36000000" | |
git clone https://git.kirios.co/scm/kt/kirios-tools.git /opt/kirios | |
ln -s /opt/kirios/kirios.py /usr/bin/kirios | |
chmod 755 /usr/bin/kirios | |
chown root:root /usr/bin/kirios | |
kirios --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment