Update run.sh

This commit is contained in:
Alexandre
2021-02-17 08:37:56 +01:00
committed by GitHub
parent 89a93f5e71
commit f080394fd5

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 origin/branch_to_overwrite
git pull --rebase || git reset --hard origin/master
fi
#Define the folder addon