From f67b34b05ccfea0ab98b343b3eb51bc743b8451e Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:52:55 +0100 Subject: [PATCH] Change installation directory check and add dependency Update directory check from /var to /opt/convertx and ensure dependencies. --- ct/convertx.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ct/convertx.sh b/ct/convertx.sh index 968e15e77..167982669 100644 --- a/ct/convertx.sh +++ b/ct/convertx.sh @@ -24,7 +24,7 @@ function update_script() { header_info check_container_storage check_container_resources - if [[ ! -d /var ]]; then + if [[ ! -d /opt/convertx ]]; then msg_error "No ${APP} Installation Found!" exit fi @@ -33,6 +33,8 @@ function update_script() { systemctl stop convertx msg_info "Stopped Service" + ensure_dependencies libreoffice-writer + msg_info "Move data-Folder" if [[ -d /opt/convertx/data ]]; then mv /opt/convertx/data /opt/data