Update paperless-ngx.sh (#2299)

2 lines not needed anymore
scipy is version 1.11.4 and paperless is working fine with it
This commit is contained in:
NiceDevil 2024-01-07 10:35:24 +01:00 committed by GitHub
parent 9f03c98e8f
commit 767a4ac433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,8 +81,6 @@ function update_script() {
cp -r /opt/paperless/paperless.conf paperless-ngx/ cp -r /opt/paperless/paperless.conf paperless-ngx/
cp -r paperless-ngx/* /opt/paperless/ cp -r paperless-ngx/* /opt/paperless/
cd /opt/paperless cd /opt/paperless
sed -i 's/scipy==1.8.1/scipy==1.10.1/g' requirements.txt
sed -i -e 's|-e git+https://github.com/paperless-ngx/django-q.git|git+https://github.com/paperless-ngx/django-q.git|' /opt/paperless/requirements.txt
pip install -r requirements.txt &>/dev/null pip install -r requirements.txt &>/dev/null
cd /opt/paperless/src cd /opt/paperless/src
/usr/bin/python3 manage.py migrate &>/dev/null /usr/bin/python3 manage.py migrate &>/dev/null