From 731129eab34736265278e2b2e5898939849b162a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 17 Dec 2022 21:23:23 +0100 Subject: [PATCH] Update 90-data_location.sh --- jellyfin/rootfs/etc/cont-init.d/90-data_location.sh | 2 ++ 1 file changed, 2 insertions(+) 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 6f02d4048..fab00cb4f 100644 --- a/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh +++ b/jellyfin/rootfs/etc/cont-init.d/90-data_location.sh @@ -13,6 +13,8 @@ if [[ "$LOCATION" = "null" || -z "$LOCATION" ]]; then LOCATION=/config/addons_co 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 +# Modify new location for database +sed -i "s|%%LOCATION%%|$LOCATION|g" /etc/cont-init.d/99-database_clean.sh # Create folders echo "Creating $LOCATION"