From 2bd7863a5015e6a31ce5ee67872e052ce87f95cd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 17 Dec 2022 14:15:21 +0100 Subject: [PATCH] Update 90-data_location.sh --- jellyfin/rootfs/etc/cont-init.d/90-data_location.sh | 1 + 1 file changed, 1 insertion(+) 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 7449abb94..603f67b3c 100644 --- a/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh +++ b/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh @@ -11,6 +11,7 @@ if [[ "$LOCATION" = "null" || -z "$LOCATION" ]]; then LOCATION=/config/addons_co # Set data location bashio::log.info "Setting data location to $LOCATION" +# shellscript disable=SC2013 for file in $(grep -sril "/config" /etc /defaults); do sed -i "s=/config=$LOCATION=g" $file; done # Create folders