From c8f3df3c689b1e657ef9699491dc2053feab9787 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Jan 2021 21:40:44 +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 d808f9669..eb3e82dd7 100644 --- a/addons_updater/rootfs/etc/cont-init.d/run +++ b/addons_updater/rootfs/etc/cont-init.d/run @@ -26,10 +26,10 @@ for addons in $(bashio::config "addon|keys"); do #If beta flag, select beta version if [ ${BETA} = true ]; then bashio::log.info "... $SLUG : beta is on" - LASTVERSION=$(lastversion --pre https://github.com/$UPSTREAM --format tag) + LASTVERSION=$(lastversion --pre "https://github.com/$UPSTREAM" --format tag) else bashio::log.info "... $SLUG : beta is off" - LASTVERSION=$(lastversion https://github.com/$UPSTREAM --format tag) + LASTVERSION=$(lastversion "https://github.com/$UPSTREAM" --format tag) fi if [ ${CURRENT} != ${LASTVERSION} ]; then