From f6db097b7c5d3aa3430b96a60c6dbc1e7ce0ced5 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 25 Feb 2021 08:47:31 +0100 Subject: [PATCH] Update run.sh --- addons_updater/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index bac1d262f..5637fec40 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -80,7 +80,7 @@ for addons in $(bashio::config "addon|keys"); do #files=$(grep -rl ${CURRENT} /data/${BASENAME}/${SLUG}) && echo $files | xargs sed -i "s/${CURRENT}/${LASTVERSION}/g" # Change all tags in all addon files sed -i "s/${CURRENT}/${LASTVERSION}/g" /data/${BASENAME}/${SLUG}/config.json sed -i "s/${CURRENT}/${LASTVERSION}/g" /data/${BASENAME}/${SLUG}/Dockerfile - sed -i "s/${CURRENT}/${LASTVERSION}/g" /data/${BASENAME}/${SLUG}/build.json + sed -i "s/${CURRENT}/${LASTVERSION}/g" /data/${BASENAME}/${SLUG}/build.json || true #Allow absence of build.json # Remove " and modify version LASTVERSION=${LASTVERSION//\"}