mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 05:14:04 +02:00
Allows update ls
This commit is contained in:
@@ -117,8 +117,10 @@ for addons in $(bashio::config "addon|keys"); do
|
|||||||
LASTVERSION='"'${LASTVERSION}'"'
|
LASTVERSION='"'${LASTVERSION}'"'
|
||||||
|
|
||||||
# Do not compare with ls tag for linuxserver images (to avoid updating only for dependencies)
|
# Do not compare with ls tag for linuxserver images (to avoid updating only for dependencies)
|
||||||
LASTVERSION2=${LASTVERSION%-ls*}
|
#LASTVERSION2=${LASTVERSION%-ls*}
|
||||||
CURRENT2=${CURRENT%-ls*}
|
#CURRENT2=${CURRENT%-ls*}
|
||||||
|
LASTVERSION2=${LASTVERSION}
|
||||||
|
CURRENT2=${CURRENT}
|
||||||
|
|
||||||
# Update if needed
|
# Update if needed
|
||||||
if [ ${CURRENT2} != ${LASTVERSION2} ]; then
|
if [ ${CURRENT2} != ${LASTVERSION2} ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user