mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Update run.sh
This commit is contained in:
@@ -39,7 +39,7 @@ for addons in $(bashio::config "addon|keys"); do
|
|||||||
else
|
else
|
||||||
LOGINFO="... $SLUG : updating ${REPOSITORY}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
LOGINFO="... $SLUG : updating ${REPOSITORY}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
||||||
cd "/data/$BASENAME"
|
cd "/data/$BASENAME"
|
||||||
git pull --rebase || { git reset --hard; git pull --rebase } > /dev/null
|
git pull --rebase || { git reset --hard; git pull --rebase }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Define the folder addon
|
#Define the folder addon
|
||||||
|
|||||||
Reference in New Issue
Block a user