diff --git a/cluster/maco.check.update.sh b/cluster/maco.check.update.sh index 20788dc..147fac0 100755 --- a/cluster/maco.check.update.sh +++ b/cluster/maco.check.update.sh @@ -368,8 +368,8 @@ Get Maco's versions from filesystem." 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 }') + readonly LATEST_MACO_VERSION=$(curl --silent --insecure https://store.ipr.univ-rennes.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-rennes.fr/InstallProgs/ipr/maco/urgent-maco-version.txt | awk -v FS=. '{ print $1 "-" $2 "-" $3 "T" $4 ":" $5 ":" $6 }') fi ## }}} ## Convert version to timestamp