From 732f562798658e22eaa920168a961b8ddc4aaa5e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 6 Sep 2023 18:39:35 +0200 Subject: [PATCH] Update 99-ocr.sh --- nextcloud/rootfs/etc/cont-init.d/99-ocr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/rootfs/etc/cont-init.d/99-ocr.sh b/nextcloud/rootfs/etc/cont-init.d/99-ocr.sh index ea187d9cb..7495c5051 100755 --- a/nextcloud/rootfs/etc/cont-init.d/99-ocr.sh +++ b/nextcloud/rootfs/etc/cont-init.d/99-ocr.sh @@ -2,7 +2,7 @@ # shellcheck shell=bash # Runs only after initialization done -if [ ! -f /app/www/public/occ ]; then cp "$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi +if [ ! -f /app/www/public/occ ]; then cp /etc/cont-init.d/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi # Only execute if installed if [ -f /notinstalled ]; then exit 0; fi