From ff575ddd53bd2381e679268d3c673c2b59e527db Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sat, 22 Jul 2023 10:23:42 +0200 Subject: [PATCH] Fix typo --- nextcloud/config.json | 2 +- nextcloud/rootfs/defaults/nextcloud-perms.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud/config.json b/nextcloud/config.json index a5daca4a8..dbb278077 100644 --- a/nextcloud/config.json +++ b/nextcloud/config.json @@ -124,6 +124,6 @@ "slug": "nextcloud_ocr", "uart": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud", - "version": "27.0.1-5", + "version": "27.0.1-6", "webui": "https://[HOST]:[PORT:443]" } \ No newline at end of file diff --git a/nextcloud/rootfs/defaults/nextcloud-perms.sh b/nextcloud/rootfs/defaults/nextcloud-perms.sh index 9d09e48ba..56feef631 100755 --- a/nextcloud/rootfs/defaults/nextcloud-perms.sh +++ b/nextcloud/rootfs/defaults/nextcloud-perms.sh @@ -21,7 +21,7 @@ rootuser='root' printf "Creating possible missing Directories\n" for folder in "$ocpath"/data "$ocpath"/assets "$ocpath"/updater "$ocpath"/apps "$ocpath"/assets "$ocpath"/config "$ocpath"/data "$ocpath"/themes /data/config/nextcloud/config /data/config/nextcloud/data /ssl/nextcloud/keys; do - if [ ! -f "$folder" ]; then + if [ ! -d "$folder" ]; then echo "... $folder" mkdir -p "$folder" || true fi