From 8afeb03ddf03dfb4dfcadb58a9fc0f165e37cf4a Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 1 Oct 2020 12:10:32 +0200 Subject: [PATCH] Update 'Vars.md' --- Vars.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Vars.md b/Vars.md index 74e9a98..7398ddc 100644 --- a/Vars.md +++ b/Vars.md @@ -14,7 +14,12 @@ Options branch= ``` Usage + ``` +#cUrl +curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/installer.sh -O installer.sh + +#wget wget -t7 "$repo"/raw/branch/"$branch"/installer.sh ``` @@ -26,7 +31,11 @@ branchtype=tag # to pull a release/tagged version ``` Usage ``` -wget -t7 "$repo"/raw/"$branchtype"/"$branch"/installer.sh +#cUrl +curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/installer.sh -O installer.sh + +#wget +wget -t7 "$repo"/raw/branch/"$branch"/installer.sh ``` @@ -102,7 +111,7 @@ cockpit=0 Usage ``` if [ $cockpit = 1 ]; then - wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Cockpit/raw/branch/master/Slave-installer.sh -O Slave-Installer.sh + curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Cockpit/raw/branch/master/Slave-installer.sh -o Slave-Installer.sh source Slave-Installer.sh fi ``` @@ -128,7 +137,7 @@ sqlver=5.7 ``` Usage ``` -wget https://git.ictmaatwerk.com/VPS-scripts/MySQL/raw/branch/master/mysql-${sqlver}.sh -O Mysql-Installer.sh +curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/MySQL/raw/branch/master/mysql-${sqlver}.sh -o Mysql-Installer.sh source Mysql-Installer.sh ```