mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-07 17:18:49 +02:00
Change installation directory check and add dependency
Update directory check from /var to /opt/convertx and ensure dependencies.
This commit is contained in:
committed by
GitHub
parent
dca71b9061
commit
f67b34b05c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user