Remove old function for scanservjs install
This commit is contained in:
parent
1bdc5ccde0
commit
22debc7ce7
11
setup.sh
11
setup.sh
@ -64,17 +64,6 @@ ssh_pubkey() {
|
|||||||
sudo -H -u $user mv /home/$user/.ssh/$remote_pubkey /home/$user/.ssh/authorized_keys
|
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() {
|
install_scanservjs() {
|
||||||
echo "Installing scanservjs directly from GitHub..."
|
echo "Installing scanservjs directly from GitHub..."
|
||||||
curl -s https://raw.githubusercontent.com/sbs20/scanservjs/master/packages/server/installer.sh | bash -s -- -a
|
curl -s https://raw.githubusercontent.com/sbs20/scanservjs/master/packages/server/installer.sh | bash -s -- -a
|
||||||
|
Loading…
Reference in New Issue
Block a user