]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Also filter to only PAPERLESS_ variables
authorTrenton Holmes <797416+stumpylog@users.noreply.github.com>
Sat, 7 Jan 2023 16:03:36 +0000 (08:03 -0800)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Sun, 8 Jan 2023 00:45:48 +0000 (16:45 -0800)
docker/env-from-file.sh

index 057b5ed9a8c1dabe8de1e7258b2a7dea482d2156..3ef44d5afedeb4255d614ed35f55be13af9fc531 100644 (file)
@@ -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#*=}