Update 99-database_clean.sh

This commit is contained in:
Alexandre
2022-12-17 21:23:49 +01:00
committed by GitHub
parent 731129eab3
commit 577d20bab8

View File

@@ -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