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