From 924a11f843382838026f66696030fcd35bdc0b86 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Jan 2024 13:06:42 +0100 Subject: [PATCH] inst-depl echappement --- pre/inst-depl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pre/inst-depl b/pre/inst-depl index e5f365e..69e2795 100755 --- a/pre/inst-depl +++ b/pre/inst-depl @@ -29,9 +29,9 @@ WPREL=6.4.2 #v6.1.1 le 17/01/2023 str5="wget -nc -4 https://fr.wordpress.org/latest-fr_FR.tar.gz -O wordpress-6.4.2-fr_FR.tar.gz" -str6="curl -L -4 https://github.com/goss-org/goss/releases/latest/download/goss-linux-amd64 -o goss" +str6="wget -nc -4 https://github.com/goss-org/goss/releases/latest/download/goss-linux-amd64 -O goss" -str7="curl -L -4 https://github.com/goss-org/goss/releases/latest/download/dgoss -o dgoss" +str7="wget -nc -4 https://github.com/goss-org/goss/releases/latest/download/dgoss -O dgoss" #GESTSUPREL=3.2.30 #str8="wget -nc -4 'https://gestsup.fr/index.php?page=download&channel=stable&version=${GESTSUPREL}&type=gestsup' -O gestsup_${GESTSUPREL}.zip" @@ -59,7 +59,7 @@ ${str7} chmod +x ./goss ./dgoss -curl -L -4 https://get.docker.com -o getdocker.sh +wget -nc -4 https://get.docker.com -O getdocker.sh chmod +x ./getdocker.sh wget -nc -4 https://github.com/FiloSottile/mkcert/releases/download/v1.4.4/mkcert-v1.4.4-linux-amd64 -O mkcert @@ -81,7 +81,7 @@ cd "${STOREREP}" || exit 2 bash getall cp goss /usr/local/bin -(cat < "${STOREREP}/inst1" +(cat <<'EOT' > "${STOREREP}/inst1" #!/bin/bash if [[ -z ${HOST+x} ]]; then echo "erreur : variable HOST indefinie" @@ -98,7 +98,7 @@ echo "vous pouvez redemarrer ..." EOT ) -(cat < "${STOREREP}/inst2" +(cat <<'EOT' > "${STOREREP}/inst2" #!/bin/bash mkdir -p ~/tools/ansible ; cd ~/tools/ansible