mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-25 16:56:04 +02:00
Do not compare with ls tag for linuxserver images (to avoid updating only for dependencies)
This commit is contained in:
@@ -113,6 +113,10 @@ for addons in $(bashio::config "addon|keys"); do
|
|||||||
# Add brackets
|
# Add brackets
|
||||||
LASTVERSION='"'${LASTVERSION}'"'
|
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
|
# Update if needed
|
||||||
if [ ${CURRENT} != ${LASTVERSION} ]; then
|
if [ ${CURRENT} != ${LASTVERSION} ]; then
|
||||||
LOGINFO="... $SLUG : update from ${CURRENT} to ${LASTVERSION}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
LOGINFO="... $SLUG : update from ${CURRENT} to ${LASTVERSION}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user