mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Fixes typo
This commit is contained in:
parent
fbebd8d7c0
commit
3daee46c3d
@ -13,7 +13,7 @@ for line in $(printenv)
|
|||||||
do
|
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 starts with "PAPERLESS_" and ends in "_FILE"
|
||||||
if [[ ${env_name} == PAPERLESS_*_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#*=}
|
||||||
@ -32,7 +32,7 @@ do
|
|||||||
export "${non_file_env_name}"="${val}"
|
export "${non_file_env_name}"="${val}"
|
||||||
|
|
||||||
else
|
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
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user