Skip to content

Instantly share code, notes, and snippets.

@gncabrera
Last active March 8, 2018 03:07
Show Gist options
  • Save gncabrera/8192846a5ac2b05a003700aa158abd19 to your computer and use it in GitHub Desktop.
Save gncabrera/8192846a5ac2b05a003700aa158abd19 to your computer and use it in GitHub Desktop.
#!/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