Update paperless-ngx.sh

fix update
This commit is contained in:
tteckster 2023-06-29 13:01:34 -04:00 committed by GitHub
parent 834b9002a5
commit d5ac9ed5b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ 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 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