diff --git a/paperless-ngx.build.sh b/paperless-ngx.build.sh index fd1f026..c2f7d38 100755 --- a/paperless-ngx.build.sh +++ b/paperless-ngx.build.sh @@ -103,12 +103,12 @@ popd echo "Installing NLTK data" -mkdir -pv ${PROJECT}/data/nltk +mkdir -pv ${PROJECT}/nltk -python3 -W ignore::RuntimeWarning -m nltk.downloader -d "${PROJECT}/data/nltk" snowball_data -python3 -W ignore::RuntimeWarning -m nltk.downloader -d "${PROJECT}/data/nltk" stopwords -python3 -W ignore::RuntimeWarning -m nltk.downloader -d "${PROJECT}/data/nltk" punkt -python3 -W ignore::RuntimeWarning -m nltk.downloader -d "${PROJECT}/data/nltk" punkt_tab +python3 -W ignore::RuntimeWarning -m nltk.downloader -d "${PROJECT}/nltk" snowball_data +python3 -W ignore::RuntimeWarning -m nltk.downloader -d "${PROJECT}/nltk" stopwords +python3 -W ignore::RuntimeWarning -m nltk.downloader -d "${PROJECT}/nltk" punkt +python3 -W ignore::RuntimeWarning -m nltk.downloader -d "${PROJECT}/nltk" punkt_tab popd diff --git a/paperless.conf.build.sh b/paperless.conf.build.sh index 79f8e83..11ef71d 100755 --- a/paperless.conf.build.sh +++ b/paperless.conf.build.sh @@ -26,7 +26,7 @@ PAPERLESS_CONSUMPTION_DIR=${PROJECT}/consume PAPERLESS_DATA_DIR=${PROJECT}/data PAPERLESS_LOGGING_DIR=${LOGDIR} PAPERLESS_MEDIA_ROOT=${PROJECT}/media -PAPERLESS_NLTK_DIR=${PROJECT}/data/nltk +PAPERLESS_NLTK_DIR=${PROJECT}/nltk PAPERLESS_SCRATCH_DIR=${TMPDIR} PAPERLESS_STATICDIR=${PREFIX}/static