diff --git a/setup.sh b/setup.sh index 81ea8cb..38e81b6 100644 --- a/setup.sh +++ b/setup.sh @@ -64,17 +64,6 @@ ssh_pubkey() { sudo -H -u $user mv /home/$user/.ssh/$remote_pubkey /home/$user/.ssh/authorized_keys } -# based on https://github.com/sbs20/scanservjs/blob/master/docs/install.md -# install_scanservjs() { -# wget -O $run_directory_path/scanservjs.tar.gz $(curl -s \ -# https://api.github.com/repos/sbs20/scanservjs/releases/latest | grep browser_download_url | cut -d '"' -f 4) -# mkdir $run_directory_path/scanservjs -# tar -xf scanservjs.tar.gz -C $run_directory_path/scanservjs/ -# $run_directory_path/scanservjs/installer.sh -i -# rm $run_directory_path/scanservjs.tar.gz -# rm -r $run_directory_path/scanservjs -# } - install_scanservjs() { echo "Installing scanservjs directly from GitHub..." curl -s https://raw.githubusercontent.com/sbs20/scanservjs/master/packages/server/installer.sh | bash -s -- -a