From: Trenton Holmes <797416+stumpylog@users.noreply.github.com> Date: Sat, 7 Jan 2023 16:03:36 +0000 (-0800) Subject: Also filter to only PAPERLESS_ variables X-Git-Tag: v1.12.0-beta.rc0~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af5cb35531134394de8da9ca5d3799ded8cb8c1a;p=thirdparty%2Fpaperless-ngx.git Also filter to only PAPERLESS_ variables --- diff --git a/docker/env-from-file.sh b/docker/env-from-file.sh index 057b5ed9a8..3ef44d5afe 100644 --- a/docker/env-from-file.sh +++ b/docker/env-from-file.sh @@ -14,7 +14,7 @@ do # Extract the name of the environment variable env_name=${line%%=*} # Check if it ends in "_FILE" - if [[ ${env_name} == *_FILE ]]; then + if [[ ${env_name} == PAPERLESS_*_FILE ]]; then # Extract the value of the environment env_value=${line#*=}