Update run.sh

This commit is contained in:
Alexandre
2021-02-06 09:32:13 +01:00
committed by GitHub
parent 641ff6a4ac
commit 804dde2b5e

View File

@@ -35,9 +35,7 @@ for addons in $(bashio::config "addon|keys"); do
else else
bashio::log.info "... $SLUG : updating ${REPOSITORY}" bashio::log.info "... $SLUG : updating ${REPOSITORY}"
cd "/data/$BASENAME" cd "/data/$BASENAME"
git fetch --all git pull --rebase
git reset --hard origin/master
git pull
fi fi
#Define the folder addon #Define the folder addon