Remove old function for scanservjs install

This commit is contained in:
Alexandre CATTEAU 2022-04-27 15:09:37 +02:00
parent 1bdc5ccde0
commit 22debc7ce7

View File

@ -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