printscan-server/scanservjs-update.sh

13 lines
253 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if [[ $user != 'root' ]]; then
sudo="sudo"
else
sudo=""
fi
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
exit 0