mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 06:21:56 +00:00
Update paperless-ngx-update.sh
This commit is contained in:
parent
c06f7afce9
commit
fbab831953
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user