From 4b85111c59b6cee6b915d9c57f0f22b9a7e024f4 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:02:41 +0100 Subject: [PATCH] Correctly for real the path https://github.com/alexbelgium/hassio-addons/issues/1682 --- nextcloud/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/README.md b/nextcloud/README.md index 3dac6b5ed..ff2a3078a 100644 --- a/nextcloud/README.md +++ b/nextcloud/README.md @@ -49,7 +49,7 @@ To run custom commands at boot you can try a code such as : # Runs only after initialization done # shellcheck disable=SC2128 mkdir -p /scripts -if [ ! -f /app/www/public/occ ]; then cp /addon_configs/db21ed7f_nextcloud-ocr/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi +if [ ! -f /app/www/public/occ ]; then cp /config/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi echo "Scanning files" sudo -u abc php /app/www/public/occ files:scan --all