Update paperless-ngx-update.sh

This commit is contained in:
tteckster 2022-09-17 21:18:04 -04:00 committed by GitHub
parent c06f7afce9
commit fbab831953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,7 @@ msg_ok "Stopped Paperless-ngx"
msg_info "Updating to ${RELEASE}" msg_info "Updating to ${RELEASE}"
wget https://github.com/paperless-ngx/paperless-ngx/releases/download/$RELEASE/paperless-ngx-$RELEASE.tar.xz &>/dev/null wget https://github.com/paperless-ngx/paperless-ngx/releases/download/$RELEASE/paperless-ngx-$RELEASE.tar.xz &>/dev/null
tar -xf paperless-ngx-$RELEASE.tar.xz &>/dev/null tar -xf paperless-ngx-$RELEASE.tar.xz &>/dev/null
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
pip install -r requirements.txt &>/dev/null pip install -r requirements.txt &>/dev/null