#!/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/packages/server/installer.sh | $sudo bash -s -- -a exit 0