3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-07 09:25:45 +00:00
Files
snipe-it/install.sh
2016-06-13 21:58:06 -04:00

8 lines
236 B
Bash
Executable File

# ensure running as root
if [ "$(id -u)" != "0" ]; then
exec sudo "$0" "$@"
fi
wget https://raw.githubusercontent.com/snipe/snipe-it/v3/snipeit.sh
chmod 744 snipeit.sh
sudo ./snipeit.sh 2>&1 | sudo tee -a /var/log/snipeit-install.log