mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Update 00-config_location.sh
This commit is contained in:
@@ -14,6 +14,7 @@ bashio::log.info "Config stored in $CONFIG_LOCATION"
|
|||||||
mkdir -p "$CONFIG_LOCATION"
|
mkdir -p "$CONFIG_LOCATION"
|
||||||
chown -R "$PUID:$PGID" "$CONFIG_LOCATION"
|
chown -R "$PUID:$PGID" "$CONFIG_LOCATION"
|
||||||
|
|
||||||
|
# shellcheck disable=SC2013
|
||||||
for file in $(grep -sril "/config/addons_config/readarr" /etc /defaults); do
|
for file in $(grep -sril "/config/addons_config/readarr" /etc /defaults); do
|
||||||
sed -i "s|/config/addons_config/readarr|$CONFIG_LOCATION|g" "$file"
|
sed -i "s|/config/addons_config/readarr|$CONFIG_LOCATION|g" "$file"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user