#!/usr/bin/env bash if [[ $user != 'root' ]]; then sudo="sudo" else sudo="" fi echo "Installing scanservjs directly from GitHub..." curl -s https://raw.githubusercontent.com/sbs20/scanservjs/master/bootstrap.sh | sudo bash -s -- -v latest exit 0