From 958190e87cebcd8c29b864895d97c51b6df2740e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 1 Aug 2021 10:28:09 +0200 Subject: [PATCH] Update run.sh --- photoprism/rootfs/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photoprism/rootfs/run.sh b/photoprism/rootfs/run.sh index b63247531..1245fe143 100644 --- a/photoprism/rootfs/run.sh +++ b/photoprism/rootfs/run.sh @@ -138,7 +138,7 @@ export PHOTOPRISM_BACKUP_PATH=$(bashio::config 'BACKUP_PATH') for variabletest in PHOTOPRISM_STORAGE_PATH PHOTOPRISM_ORIGINALS_PATH PHOTOPRISM_IMPORT_PATH PHOTOPRISM_BACKUP_PATH do # Check if path exists -if [ ! bashio::fs.directory_exists($variabletest) ]; then +if [ ! bashio::fs.directory_exists $variabletest ]; then bashio::log.info "Path $variabletest doesn't exist. Creating it now..." mkdir -p $variable || bashio::log.fatal "Can't create $variabletest path" fi