2022-03-21 12:36:26 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2023-07-08 14:38:38 +02:00
|
|
|
if [[ $user != 'root' ]]; then
|
|
|
|
sudo="sudo"
|
|
|
|
else
|
|
|
|
sudo=""
|
|
|
|
fi
|
|
|
|
|
2022-03-21 12:36:26 +01:00
|
|
|
echo "Installing scanservjs directly from GitHub..."
|
2023-11-11 16:33:55 +01:00
|
|
|
curl -s https://raw.githubusercontent.com/sbs20/scanservjs/master/bootstrap.sh | sudo bash -s -- -v latest
|
2022-03-21 12:36:26 +01:00
|
|
|
|
|
|
|
exit 0
|