mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-26 07:44:18 +00:00
Update run.sh
This commit is contained in:
1 parent
c0384f010c
commit
89d8b20cf3
1 file changed
-3
@@ -73,12 +73,9 @@ for addons in $(bashio::config "addon|keys"); do
|
|||||||
BETA=$(bashio::config "addon[${addons}].beta")
|
BETA=$(bashio::config "addon[${addons}].beta")
|
||||||
FULLTAG=$(bashio::config "addon[${addons}].fulltag")
|
FULLTAG=$(bashio::config "addon[${addons}].fulltag")
|
||||||
HAVINGASSET=$(bashio::config "addon[${addons}].having_asset")
|
HAVINGASSET=$(bashio::config "addon[${addons}].having_asset")
|
||||||
PAUSED=$(bashio::config "addon[${addons}].paused")
|
|
||||||
BASENAME=$(basename "https://github.com/$REPOSITORY")
|
BASENAME=$(basename "https://github.com/$REPOSITORY")
|
||||||
DATE="$(date '+%d-%m-%Y')"
|
DATE="$(date '+%d-%m-%Y')"
|
||||||
|
|
||||||
[ $PAUSED=true ] && continue
|
|
||||||
|
|
||||||
#Create or update local version
|
#Create or update local version
|
||||||
if [ ! -d /data/$BASENAME ]; then
|
if [ ! -d /data/$BASENAME ]; then
|
||||||
LOGINFO="... $SLUG : cloning ${REPOSITORY}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
LOGINFO="... $SLUG : cloning ${REPOSITORY}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
||||||
|
|||||||
Reference in new issue
Block a user