Update run.sh

This commit is contained in:
Alexandre
2021-01-31 15:53:44 +01:00
committed by GitHub
parent fd144bcbd6
commit 7b55f780af

View File

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