Change installation directory check and add dependency

Update directory check from /var to /opt/convertx and ensure dependencies.
This commit is contained in:
CanbiZ (MickLesk)
2026-03-22 20:52:55 +01:00
committed by GitHub
parent dca71b9061
commit f67b34b05c

View File

@@ -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