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