add -f to all curl

This commit is contained in:
Alexandre
2022-02-25 10:44:16 +01:00
parent bcce6f3853
commit 384f6c8d4e
119 changed files with 243 additions and 243 deletions

View File

@@ -36,7 +36,7 @@ else
else
# Download template
TEMPLATESOURCE="https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/config.template"
curl -L -s -S "$TEMPLATESOURCE" --output "$CONFIGSOURCE"
curl -f -L -s -S "$TEMPLATESOURCE" --output "$CONFIGSOURCE"
fi
# Need to restart
bashio::log.fatal "Config file not found, creating a new one. Please customize the file in $CONFIGSOURCE before restarting."