Paperless-NGX: create direction for nltk (#7064)
This commit is contained in:
parent
c49519a7de
commit
ff7e7a6e10
@ -60,6 +60,7 @@ $STD bash ./configure
|
||||
$STD make
|
||||
$STD make install
|
||||
rm -rf /opt/jbig2enc
|
||||
cd /
|
||||
msg_ok "Installed JBIG2"
|
||||
|
||||
msg_info "Setting up PostgreSQL database"
|
||||
@ -78,6 +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 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user