Update run.sh

This commit is contained in:
Alexandre
2021-02-17 14:52:20 +01:00
committed by GitHub
parent f4fcf1c454
commit 0019383e9d

View File

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