This commit is contained in:
Slaviša Arežina
2025-12-17 16:34:24 +01:00
committed by GitHub
parent 7a7c9f9a22
commit dcc4b316a9
2 changed files with 18 additions and 21 deletions

View File

@@ -20,18 +20,18 @@ color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /var/lib/resilio-sync ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating ${APP} LXC"
$STD apt update
$STD apt -y upgrade
msg_ok "Updated successfully!"
header_info
check_container_storage
check_container_resources
if [[ ! -d /var/lib/resilio-sync ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_info "Updating Resilio Sync"
$STD apt update
$STD apt upgrade -y
msg_ok "Updated successfully!"
exit
}
start