mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
Update run.sh
This commit is contained in:
@@ -35,9 +35,10 @@ 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
|
git pull --rebase
|
||||||
if [[ "$(git rev-parse HEAD)" !== "$(git rev-parse @{u})" ]]; then
|
#git fetch
|
||||||
git pull --ff-only
|
#if [[ "$(git rev-parse HEAD)" !== "$(git rev-parse @{u})" ]]; then
|
||||||
|
#git pull --ff-only
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user