]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fixes typo
authorTrenton Holmes <797416+stumpylog@users.noreply.github.com>
Sat, 7 Jan 2023 16:16:48 +0000 (08:16 -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 3ef44d5afedeb4255d614ed35f55be13af9fc531..37535c220c6029f41f9ba42199bc8a0c74d0d206 100644 (file)
@@ -13,7 +13,7 @@ for line in $(printenv)
 do
        # Extract the name of the environment variable
        env_name=${line%%=*}
-       # Check if it ends in "_FILE"
+       # Check if it starts with "PAPERLESS_" and ends in "_FILE"
        if [[ ${env_name} == PAPERLESS_*_FILE ]]; then
                # Extract the value of the environment
                env_value=${line#*=}
@@ -32,7 +32,7 @@ do
                        export "${non_file_env_name}"="${val}"
 
                else
-                       echo "File ${env_value} referenced ${env_name} by doesn't exist"
+                       echo "File ${env_value} referenced by ${env_name} doesn't exist"
                fi
        fi
 done