install curl/wget first fixes #224
This commit is contained in:
parent
e4b096a08f
commit
5a5ecb3ee3
|
@ -1,8 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT_VERSION="29"
|
SCRIPT_VERSION="30"
|
||||||
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/install.sh'
|
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/install.sh'
|
||||||
|
|
||||||
|
sudo apt install -y curl wget
|
||||||
|
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
YELLOW='\033[1;33m'
|
YELLOW='\033[1;33m'
|
||||||
BLUE='\033[0;34m'
|
BLUE='\033[0;34m'
|
||||||
|
@ -189,8 +191,6 @@ echo "saltapi:${SALTPW}" | sudo chpasswd
|
||||||
|
|
||||||
print_green 'Installing golang'
|
print_green 'Installing golang'
|
||||||
|
|
||||||
sudo apt install -y curl wget
|
|
||||||
|
|
||||||
sudo mkdir -p /usr/local/rmmgo
|
sudo mkdir -p /usr/local/rmmgo
|
||||||
go_tmp=$(mktemp -d -t rmmgo-XXXXXXXXXX)
|
go_tmp=$(mktemp -d -t rmmgo-XXXXXXXXXX)
|
||||||
wget https://golang.org/dl/go1.15.5.linux-amd64.tar.gz -P ${go_tmp}
|
wget https://golang.org/dl/go1.15.5.linux-amd64.tar.gz -P ${go_tmp}
|
||||||
|
|
|
@ -7,9 +7,11 @@ pgpw="hunter2"
|
||||||
|
|
||||||
#####################################################
|
#####################################################
|
||||||
|
|
||||||
SCRIPT_VERSION="10"
|
SCRIPT_VERSION="11"
|
||||||
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/restore.sh'
|
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/restore.sh'
|
||||||
|
|
||||||
|
sudo apt install -y curl wget
|
||||||
|
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
YELLOW='\033[1;33m'
|
YELLOW='\033[1;33m'
|
||||||
BLUE='\033[0;34m'
|
BLUE='\033[0;34m'
|
||||||
|
@ -90,7 +92,6 @@ sudo systemctl restart systemd-journald.service
|
||||||
print_green 'Installing golang'
|
print_green 'Installing golang'
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y curl wget
|
|
||||||
sudo mkdir -p /usr/local/rmmgo
|
sudo mkdir -p /usr/local/rmmgo
|
||||||
go_tmp=$(mktemp -d -t rmmgo-XXXXXXXXXX)
|
go_tmp=$(mktemp -d -t rmmgo-XXXXXXXXXX)
|
||||||
wget https://golang.org/dl/go1.15.5.linux-amd64.tar.gz -P ${go_tmp}
|
wget https://golang.org/dl/go1.15.5.linux-amd64.tar.gz -P ${go_tmp}
|
||||||
|
|
Loading…
Reference in New Issue