diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 93ce2260f..16be54230 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -77,7 +77,10 @@ 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 + #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.json + sed -i 's/${CURRENT}/${LASTVERSION}/g' /data/${BASENAME}/${SLUG}/build.json # Remove " and modify version LASTVERSION=${LASTVERSION//\"}