Allows update ls

This commit is contained in:
Alexandre
2022-01-04 20:26:08 +01:00
committed by GitHub
parent 343c415b01
commit fdd0d71706

View File

@@ -117,8 +117,10 @@ for addons in $(bashio::config "addon|keys"); do
LASTVERSION='"'${LASTVERSION}'"'
# Do not compare with ls tag for linuxserver images (to avoid updating only for dependencies)
LASTVERSION2=${LASTVERSION%-ls*}
CURRENT2=${CURRENT%-ls*}
#LASTVERSION2=${LASTVERSION%-ls*}
#CURRENT2=${CURRENT%-ls*}
LASTVERSION2=${LASTVERSION}
CURRENT2=${CURRENT}
# Update if needed
if [ ${CURRENT2} != ${LASTVERSION2} ]; then