This commit is contained in:
jonaswinkler 2020-12-09 23:45:53 +01:00
parent 0b1b9de3cc
commit 2b57b80656

View File

@ -114,13 +114,13 @@ install_languages() {
done
}
initialize
# Install additional languages if specified
if [[ ! -z "$PAPERLESS_OCR_LANGUAGES" ]]; then
install_languages "$PAPERLESS_OCR_LANGUAGES"
fi
initialize
if [[ "$1" != "/"* ]]; then
exec sudo -HEu paperless python3 manage.py "$@"
else