Update paperless-ngx-install.sh (#2300)

not needed anymore, as in the other commit :)
This commit is contained in:
NiceDevil 2024-01-07 10:42:41 +01:00 committed by GitHub
parent 767a4ac433
commit 8b7820b03a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,9 +81,6 @@ $STD tar -xf paperless-ngx-$Paperlessngx.tar.xz -C /opt/
mv paperless-ngx paperless mv paperless-ngx paperless
rm paperless-ngx-$Paperlessngx.tar.xz rm paperless-ngx-$Paperlessngx.tar.xz
cd /opt/paperless cd /opt/paperless
sed -i 's/scipy==1.8.1/scipy==1.10.1/g' requirements.txt
## python 3.10+ doesn't like the '-e', so we remove it from this the requirements file
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
$STD pip install --upgrade pip $STD pip install --upgrade pip
$STD pip install -r requirements.txt $STD pip install -r requirements.txt
curl -s -o /opt/paperless/paperless.conf https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/paperless.conf.example curl -s -o /opt/paperless/paperless.conf https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/paperless.conf.example