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-07-08 14:38:38 +02:00
|
|
|
curl -s https://raw.githubusercontent.com/sbs20/scanservjs/master/packages/server/installer.sh | $sudo bash -s -- -a
|
2022-03-21 12:36:26 +01:00
|
|
|
|
|
|
|
exit 0
|