Update run.sh

This commit is contained in:
Alexandre
2021-02-23 10:29:17 +01:00
committed by GitHub
parent 90a6402c16
commit 3a2d132e0a

View File

@@ -79,7 +79,7 @@ for addons in $(bashio::config "addon|keys"); do
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.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