Update 00-config_location.sh

This commit is contained in:
Alexandre
2024-01-07 07:30:13 +01:00
committed by GitHub
parent a251e5e803
commit a187b203b0

View File

@@ -14,6 +14,7 @@ bashio::log.info "Config stored in $CONFIG_LOCATION"
mkdir -p "$CONFIG_LOCATION"
chown -R "$PUID:$PGID" "$CONFIG_LOCATION"
# shellcheck disable=SC2013
for file in $(grep -sril "/config/addons_config/readarr" /etc /defaults); do
sed -i "s|/config/addons_config/readarr|$CONFIG_LOCATION|g" "$file"
done