Add TODO: replace curl --silent option

This commit is contained in:
Jeremy Gardais 2021-06-09 08:08:27 +02:00
parent 5f8ffa900f
commit 350cb2941f
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 0 deletions

View File

@ -333,6 +333,8 @@ Get Maco's versions from filesystem."
### Get Maco's versions from webserver ### Get Maco's versions from webserver
debug_message "define_vars \ debug_message "define_vars \
Get Maco's versions from webserver." 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 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 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 fi