From e128c9ca63f3c8019452b168787ef19dd5e6c10c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Jan 2021 21:54:59 +0100 Subject: [PATCH] Update run --- addons_updater/rootfs/etc/cont-init.d/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons_updater/rootfs/etc/cont-init.d/run b/addons_updater/rootfs/etc/cont-init.d/run index ce9bb47fe..ea85c3105 100644 --- a/addons_updater/rootfs/etc/cont-init.d/run +++ b/addons_updater/rootfs/etc/cont-init.d/run @@ -20,7 +20,7 @@ for addons in $(bashio::config "addon|keys"); do UPSTREAM=$(bashio::config "addon[${addons}].upstream") CURRENT=$(bashio::config "addon[${addons}].current") BETA=$(bashio::config "addon[${addons}].beta") - BASENAME=$(basename https://github.com/$REPOSITORY) + BASENAME=$(basename "https://github.com/$REPOSITORY") bashio::log.info "... $SLUG : check started" #If beta flag, select beta version @@ -38,7 +38,7 @@ for addons in $(bashio::config "addon|keys"); do #Update local version bashio::log.info "... $SLUG : cloning base repo" cd / - git clone https://github.com/${REPOSITORY} || cd /${BASENAME} && git fetch --all && git reset --hard origin/master + git clone "https://github.com/${REPOSITORY}" || cd "/${BASENAME}" && git fetch --all && git reset --hard origin/master #Define the folder addon bashio::log.info "... $SLUG : checking exists in repo"