Update run.sh

This commit is contained in:
Alexandre
2021-02-17 11:30:28 +01:00
committed by GitHub
parent 29f35bae25
commit f4fcf1c454

View File

@@ -39,7 +39,9 @@ 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 status && git reset --hard
# git pull --rebase
git status
git reset --hard
fi
#Define the folder addon