From aa7c9b43dc1e3ecd267bce36487acbc2b19a32ca Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 7 Feb 2022 10:17:12 +0100 Subject: [PATCH] Update 20-configuration.sh --- plex_meta_manager/rootfs/etc/cont-init.d/20-configuration.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plex_meta_manager/rootfs/etc/cont-init.d/20-configuration.sh b/plex_meta_manager/rootfs/etc/cont-init.d/20-configuration.sh index 912f90283..9a2b83f33 100644 --- a/plex_meta_manager/rootfs/etc/cont-init.d/20-configuration.sh +++ b/plex_meta_manager/rootfs/etc/cont-init.d/20-configuration.sh @@ -20,10 +20,9 @@ chown -R "$PUID":"$GUID" /config/addons_config/plex-meta-manager # Where is the config CONFIGSOURCE=$(bashio::config "PMM_CONFIG") -CONFIGSOURCE=$(dirname "$CONFIGSOURCE") # Check if config file is there, or create one from template -if [ -f "$CONFIGSOURCE"/config.yml ]; then +if [ -f "$CONFIGSOURCE" ]; then bashio::log.info "Using config file found in $CONFIGSOURCE" else cp /templates/config.yml "$(dirname "${CONFIGSOURCE}")"