mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update paperless-ngx-update.sh
add tag
This commit is contained in:
parent
5b03b47ee6
commit
1c42003b64
@ -58,8 +58,8 @@ sleep 1
|
||||
msg_ok "Stopped Paperless-ngx"
|
||||
|
||||
msg_info "Updating to ${RELEASE}"
|
||||
if [ "$(dpkg -l | awk '/libmariadb-dev/ {print }'|wc -l)" != 2 ]; then apt-get install libmariadb-dev; fi &>/dev/null
|
||||
if [ "$(dpkg -l | awk '/libmariadb-dev-compat/ {print }'|wc -l)" != 1 ]; then apt-get install libmariadb-dev-compat; fi &>/dev/null
|
||||
if [ "$(dpkg -l | awk '/libmariadb-dev/ {print }'|wc -l)" != 2 ]; then apt-get install -y libmariadb-dev; fi &>/dev/null
|
||||
if [ "$(dpkg -l | awk '/libmariadb-dev-compat/ {print }'|wc -l)" != 1 ]; then apt-get install -y libmariadb-dev-compat; fi &>/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
|
||||
cp -r /opt/paperless/paperless.conf paperless-ngx/
|
||||
|
Loading…
Reference in New Issue
Block a user