mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 17:25:53 +00:00
Update paperless-ngx.sh
This commit is contained in:
@@ -36,7 +36,7 @@ function update_script() {
|
|||||||
BACKUP_DIR="/opt/paperless-backup-$(date +%F_%T | tr ':' '-')"
|
BACKUP_DIR="/opt/paperless-backup-$(date +%F_%T | tr ':' '-')"
|
||||||
|
|
||||||
MIGRATION_NEEDED=0
|
MIGRATION_NEEDED=0
|
||||||
if ! command -v uv &>/dev/null || [[ ! -d "$VENV_DIR" ]]; then
|
if ! command -v uv &>/dev/null || [[ ! -d /opt/paperless/.venv ]]; then
|
||||||
MIGRATION_NEEDED=1
|
MIGRATION_NEEDED=1
|
||||||
msg_info "uv not found or missing venv, migrating..."
|
msg_info "uv not found or missing venv, migrating..."
|
||||||
setup_uv
|
setup_uv
|
||||||
|
|||||||
Reference in New Issue
Block a user