Update run.sh

This commit is contained in:
Alexandre
2021-11-06 09:00:51 +01:00
committed by GitHub
parent c0384f010c
commit 89d8b20cf3

View File

@@ -73,12 +73,9 @@ for addons in $(bashio::config "addon|keys"); do
BETA=$(bashio::config "addon[${addons}].beta")
FULLTAG=$(bashio::config "addon[${addons}].fulltag")
HAVINGASSET=$(bashio::config "addon[${addons}].having_asset")
PAUSED=$(bashio::config "addon[${addons}].paused")
BASENAME=$(basename "https://github.com/$REPOSITORY")
DATE="$(date '+%d-%m-%Y')"
[ $PAUSED=true ] && continue
#Create or update local version
if [ ! -d /data/$BASENAME ]; then
LOGINFO="... $SLUG : cloning ${REPOSITORY}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi