mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
Also filter to only PAPERLESS_ variables
This commit is contained in:
parent
61a2dca81f
commit
af5cb35531
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ do
|
||||||
# Extract the name of the environment variable
|
# Extract the name of the environment variable
|
||||||
env_name=${line%%=*}
|
env_name=${line%%=*}
|
||||||
# Check if it ends in "_FILE"
|
# Check if it ends in "_FILE"
|
||||||
if [[ ${env_name} == *_FILE ]]; then
|
if [[ ${env_name} == PAPERLESS_*_FILE ]]; then
|
||||||
# Extract the value of the environment
|
# Extract the value of the environment
|
||||||
env_value=${line#*=}
|
env_value=${line#*=}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue