This commit is contained in:
CanbiZ 2025-08-22 03:37:32 +02:00 committed by GitHub
parent 96959ffdb0
commit 2c3193ebb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,7 +79,7 @@ echo -e "Paperless-ngx Database Password: \e[32m$DB_PASS\e[0m" >>~/paperless.cre
echo -e "Paperless-ngx Database Name: \e[32m$DB_NAME\e[0m" >>~/paperless.creds
msg_info "Installing Natural Language Toolkit (Patience)"
mkdir -p /usr/share/nltk_data
$STD uv pip install nltk
$STD uv run -- python -m nltk.downloader -d /usr/share/nltk_data all
sed -i -e 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
msg_ok "Installed Natural Language Toolkit"