13 lines
253 B
Bash
Executable File
13 lines
253 B
Bash
Executable File
#!/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
|