From: Trenton Holmes <797416+stumpylog@users.noreply.github.com> Date: Mon, 1 May 2023 01:08:58 +0000 (-0700) Subject: Ignores a specific _FILE setting which doesn't actually get set to a file X-Git-Tag: v1.14.3~1^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=613b71d23b0f65874a51f721aa0642ad569f559e;p=thirdparty%2Fpaperless-ngx.git Ignores a specific _FILE setting which doesn't actually get set to a file --- diff --git a/docker/env-from-file.sh b/docker/env-from-file.sh index 37535c220c..b67a82c86c 100644 --- a/docker/env-from-file.sh +++ b/docker/env-from-file.sh @@ -15,6 +15,10 @@ do env_name=${line%%=*} # Check if it starts with "PAPERLESS_" and ends in "_FILE" if [[ ${env_name} == PAPERLESS_*_FILE ]]; then + # This should have been named different.. + if [[ ${env_name} == "PAPERLESS_OCR_SKIP_ARCHIVE_FILE" ]]; then + continue + fi # Extract the value of the environment env_value=${line#*=}