Update run.sh

This commit is contained in:
Alexandre
2021-02-26 06:45:16 +01:00
committed by GitHub
parent 535bbc8082
commit fca0449a18

View File

@@ -39,7 +39,7 @@ for addons in $(bashio::config "addon|keys"); do
else
LOGINFO="... $SLUG : updating ${REPOSITORY}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
cd "/data/$BASENAME"
git pull --rebase || { git reset --hard; git pull --rebase} > /dev/null
git pull --rebase || { git reset --hard; git pull --rebase } > /dev/null
fi
#Define the folder addon