mirror of https://github.com/tteck/Proxmox.git
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