From de396ca3ce0846d84bb7c1638a4dc748307537ee Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 20 May 2021 15:30:20 +0200 Subject: [PATCH] Do not compare with ls tag for linuxserver images (to avoid updating only for dependencies) --- addons_updater/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 622fbd4da..a685473e0 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -113,6 +113,10 @@ for addons in $(bashio::config "addon|keys"); do # Add brackets LASTVERSION='"'${LASTVERSION}'"' + # Do not compare with ls tag for linuxserver images (to avoid updating only for dependencies) + LASTVERSION=${LASTVERSION%-ls*} + CURRENT=${CURRENT%-ls*} + # Update if needed if [ ${CURRENT} != ${LASTVERSION} ]; then LOGINFO="... $SLUG : update from ${CURRENT} to ${LASTVERSION}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi