install curl/wget first fixes #224

This commit is contained in:
wh1te909 2020-12-30 19:04:14 +00:00
parent e4b096a08f
commit 5a5ecb3ee3
2 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,10 @@
#!/bin/bash
SCRIPT_VERSION="29"
SCRIPT_VERSION="30"
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/install.sh'
sudo apt install -y curl wget
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
@ -189,8 +191,6 @@ echo "saltapi:${SALTPW}" | sudo chpasswd
print_green 'Installing golang'
sudo apt install -y curl wget
sudo mkdir -p /usr/local/rmmgo
go_tmp=$(mktemp -d -t rmmgo-XXXXXXXXXX)
wget https://golang.org/dl/go1.15.5.linux-amd64.tar.gz -P ${go_tmp}

View File

@ -7,9 +7,11 @@ pgpw="hunter2"
#####################################################
SCRIPT_VERSION="10"
SCRIPT_VERSION="11"
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/restore.sh'
sudo apt install -y curl wget
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
@ -90,7 +92,6 @@ sudo systemctl restart systemd-journald.service
print_green 'Installing golang'
sudo apt update
sudo apt install -y curl wget
sudo mkdir -p /usr/local/rmmgo
go_tmp=$(mktemp -d -t rmmgo-XXXXXXXXXX)
wget https://golang.org/dl/go1.15.5.linux-amd64.tar.gz -P ${go_tmp}