Update 99-ocr.sh

This commit is contained in:
Alexandre
2023-09-06 18:39:35 +02:00
committed by GitHub
parent 7397d930a5
commit 732f562798

View File

@@ -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