mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-01 19:48:47 +02:00
Update run.sh
This commit is contained in:
@@ -31,7 +31,7 @@ for addons in $(bashio::config "addon|keys"); do
|
|||||||
bashio::log.info "... $SLUG : updating ${REPOSITORY}"
|
bashio::log.info "... $SLUG : updating ${REPOSITORY}"
|
||||||
cd "/data/$BASENAME"
|
cd "/data/$BASENAME"
|
||||||
git fetch
|
git fetch
|
||||||
if [ $(git rev-parse HEAD) !== $(git rev-parse @{u}) ]; then
|
if [ $(git rev-parse HEAD) != $(git rev-parse @{u}) ]; then
|
||||||
git pull
|
git pull
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user