This commit is contained in:
CanbiZ
2025-09-15 15:37:56 +02:00
parent 8d687ba9ab
commit 3f69160fb9
48 changed files with 685 additions and 688 deletions

View File

@@ -19,21 +19,21 @@ var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"
variables
color
catch_errors
init_error_traps
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
header_info
check_container_storage
check_container_resources
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating $APP LXC"
$STD apt-get update
$STD apt-get -y upgrade
msg_ok "Updated $APP LXC"
exit
fi
msg_info "Updating $APP LXC"
$STD apt-get update
$STD apt-get -y upgrade
msg_ok "Updated $APP LXC"
exit
}
start