From 5de34ee94ad5a4c701aed1e493fe94fb5e13290a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 19 Dec 2022 21:50:41 +0100 Subject: [PATCH] Update 90-data_location.sh --- jellyfin/rootfs/etc/cont-init.d/90-data_location.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh b/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh index 2a0f0c399..a114f954a 100644 --- a/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh +++ b/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh @@ -11,7 +11,7 @@ if [[ "$LOCATION" = "null" || -z "$LOCATION" ]]; then LOCATION=/config/addons_co # Set data location bashio::log.info "Setting data location to $LOCATION" -# shellcheck disable=SC2013 +# shellcheck disable=SC2013,SC2086 for file in $(grep -sril "/config" /etc /defaults); do sed -i "s=/config=$LOCATION=g" $file; done # Modify new location for database sed -i "s|%%LOCATION%%|$LOCATION|g" /etc/cont-init.d/99-database_clean.sh