mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-27 16:24:17 +00:00
Update run.sh
This commit is contained in:
1 parent
fd144bcbd6
commit
7b55f780af
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user