Update run.sh

This commit is contained in:
Alexandre
2021-01-31 17:27:04 +01:00
committed by GitHub
parent f299cdc44f
commit 44c2ea74fb

View File

@@ -35,9 +35,10 @@ for addons in $(bashio::config "addon|keys"); do
else
bashio::log.info "... $SLUG : updating ${REPOSITORY}"
cd "/data/$BASENAME"
git fetch
if [[ "$(git rev-parse HEAD)" !== "$(git rev-parse @{u})" ]]; then
git pull --ff-only
git pull --rebase
#git fetch
#if [[ "$(git rev-parse HEAD)" !== "$(git rev-parse @{u})" ]]; then
#git pull --ff-only
fi
fi