From b66bbfa6b3fc27ccbebe7cd5cf80b0e0a7c9746f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 23 Feb 2021 11:24:58 +0100 Subject: [PATCH] Update run.sh --- addons_updater/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 3d2c8e31f..bac1d262f 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -78,9 +78,9 @@ for addons in $(bashio::config "addon|keys"); do #Change all instances of version LOGINFO="... $SLUG : updating files" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi #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}/config.json + sed -i "s/${CURRENT}/${LASTVERSION}/g" /data/${BASENAME}/${SLUG}/Dockerfile + sed -i "s/${CURRENT}/${LASTVERSION}/g" /data/${BASENAME}/${SLUG}/build.json # Remove " and modify version LASTVERSION=${LASTVERSION//\"}