Update 99-run.sh

This commit is contained in:
Alexandre
2022-07-21 16:36:42 +02:00
committed by GitHub
parent 4e4aa33e94
commit 44248afcf4

View File

@@ -15,11 +15,12 @@ if [ ! -f "$HOME"/config.json ]; then
fi
# Make symlink for cookies
bashio::log.info "The following json files were found in $HOME and will be used in the app :"
bashio::log.info "The following json files were found in $HOME and will be used in the app. Changing those files will require to restart the addon."
cd "$HOME" || true
for i in *.json; do # Whitespace-safe but not recursive.
echo "... processing $i"
ln -sf "$i" /usr/app/config
# ln -sf "$i" /usr/app/config
cp "$i" /usr/app/config
done
# Permissions