Main turn point, no pacman wrapping, no update functionality, making things simplier

This commit is contained in:
2026-09-13 22:23:43 +02:00
parent 20bdd217c4
commit 6811002ca6
6 changed files with 1 additions and 85 deletions
-18
View File
@@ -106,24 +106,6 @@ fn process_remoute(
println!("Error while ansvering cli request: {}", ex);
}
}
// we should apply updates if any on reboot
BzzReq::ScheduleUpdate => {
// but only if we have actually any updates
if bzz_db.updates_available > 0 {
bzz_db.update_on_reboot = true;
// keep it simple Kira
// lets just return err from the loop if something wrong with db
hive_db::write_db(&bzz_db)?;
// signal remoute that evertyhing go OK
if let Err(ex) = hive_intercom::socket_send(
&listening_socket,
&client_addr,
BzzResp::Finish,
) {
println!("Error while ansvering cli request: {}", ex);
}
}
}
BzzReq::CheckForUpdates => {
let resp = BzzResp::Working(1);
if let Err(ex) =