From f69a1181b507f312534c950ceb8135290f48c2df Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 29 Nov 2023 15:51:32 -0500 Subject: [PATCH] Update paperless-ngx.sh fixes https://github.com/tteck/Proxmox/issues/2123 --- ct/paperless-ngx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/paperless-ngx.sh b/ct/paperless-ngx.sh index ff4db22b..98c0c556 100644 --- a/ct/paperless-ngx.sh +++ b/ct/paperless-ngx.sh @@ -74,6 +74,7 @@ function update_script() { msg_ok "Stopped Paperless-ngx" msg_info "Updating to ${RELEASE}" + cd ~ 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