Cosmetic change: I commit what is used on sosno

This commit is contained in:
Laurent Rineau 2021-10-18 16:35:20 +02:00
parent 1ad762e082
commit 48d4034baa
1 changed files with 2 additions and 0 deletions

View File

@ -97,8 +97,10 @@ download_latest()
fi
log "${ACTUAL_LOGFILE}" "getting LATEST"
if [ -n "${USE_CURL}" ]; then
echo "using curl..."
${CURL} ${CURL_OPTS} "${LATEST_LOCATION}" >> "${ACTUAL_LOGFILE}" 2>&1
else
echo "using wget..."
${WGET} ${WGET_OPTS} "${LATEST_LOCATION}" >> "${ACTUAL_LOGFILE}" 2>&1
fi
if [ ! -f "LATEST" ]; then