mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
fixes #113
This commit is contained in:
parent
f00193d287
commit
1c30697e3b
@ -114,13 +114,13 @@ install_languages() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
initialize
|
|
||||||
|
|
||||||
# Install additional languages if specified
|
# Install additional languages if specified
|
||||||
if [[ ! -z "$PAPERLESS_OCR_LANGUAGES" ]]; then
|
if [[ ! -z "$PAPERLESS_OCR_LANGUAGES" ]]; then
|
||||||
install_languages "$PAPERLESS_OCR_LANGUAGES"
|
install_languages "$PAPERLESS_OCR_LANGUAGES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
initialize
|
||||||
|
|
||||||
if [[ "$1" != "/"* ]]; then
|
if [[ "$1" != "/"* ]]; then
|
||||||
exec sudo -HEu paperless python3 manage.py "$@"
|
exec sudo -HEu paperless python3 manage.py "$@"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user