From 577d20bab8e6eeb7b5cae00e73d29e7cb41138b8 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 17 Dec 2022 21:23:49 +0100 Subject: [PATCH] Update 99-database_clean.sh --- jellyfin/rootfs/etc/cont-init.d/99-database_clean.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/jellyfin/rootfs/etc/cont-init.d/99-database_clean.sh b/jellyfin/rootfs/etc/cont-init.d/99-database_clean.sh index af27f819f..99b676903 100644 --- a/jellyfin/rootfs/etc/cont-init.d/99-database_clean.sh +++ b/jellyfin/rootfs/etc/cont-init.d/99-database_clean.sh @@ -1,11 +1,8 @@ #!/usr/bin/with-contenv bashio # shellcheck shell=bash -#LOCATION=$(bashio::config 'data_location') -#if [[ "$LOCATION" = "null" || -z "$LOCATION" ]]; then LOCATION=/config/addons_config/${HOSTNAME#*-}; fi - #Set variable -db=/config/jellyfin/data/data/library.db +db=%%LOCATION%%/data/data/library.db #Modify base if [ -f $db ]; then