mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Ignores a specific _FILE setting which doesn't actually get set to a file
This commit is contained in:
parent
0284100c2d
commit
613b71d23b
1 changed files with 4 additions and 0 deletions
|
|
@ -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#*=}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue