From 6c773558bee66311e21a5fb86ba12634eb4cb188 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 17 Dec 2022 01:29:29 +0100 Subject: [PATCH] Update 99-database_clean.sh --- jellyfin/rootfs/etc/cont-init.d/99-database_clean.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 9ca9e99f1..53025bbf3 100644 --- a/jellyfin/rootfs/etc/cont-init.d/99-database_clean.sh +++ b/jellyfin/rootfs/etc/cont-init.d/99-database_clean.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/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