From 350cb2941f6148c397c29fcb2132bfbaa4c22a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 9 Jun 2021 08:08:27 +0200 Subject: [PATCH] Add TODO: replace curl --silent option --- cluster/maco.check.update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster/maco.check.update.sh b/cluster/maco.check.update.sh index a8f1656..9fbdb75 100755 --- a/cluster/maco.check.update.sh +++ b/cluster/maco.check.update.sh @@ -333,6 +333,8 @@ Get Maco's versions from filesystem." ### Get Maco's versions from webserver debug_message "define_vars − \ Get Maco's versions from webserver." + ### TODO: Replace --silent option with --no-progress-meter once curl > v7.74.0-* + ### will be available on the cluster (at least buster-backports). readonly LATEST_MACO_VERSION=$(curl --silent --insecure https://store.ipr.univ-rennes1.fr/InstallProgs/ipr/maco/maco-version.txt | awk -v FS=. '{ print $1 "-" $2 "-" $3 "T" $4 ":" $5 ":" $6 }') readonly URGENT_MACO_VERSION=$(curl --silent --insecure https://store.ipr.univ-rennes1.fr/InstallProgs/ipr/maco/urgent-maco-version.txt | awk -v FS=. '{ print $1 "-" $2 "-" $3 "T" $4 ":" $5 ":" $6 }') fi