From 38068eeaac03e9a66f74e2fa415bf2989577089b Mon Sep 17 00:00:00 2001 From: Massimo Branchini <45419961+max72bra@users.noreply.github.com> Date: Sat, 25 Oct 2025 18:43:09 +0200 Subject: [PATCH] better checks before saying SUCCESS (#550) --- Services/SystemUpdateService.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Services/SystemUpdateService.qml b/Services/SystemUpdateService.qml index f44a7ffe..c4876bab 100644 --- a/Services/SystemUpdateService.qml +++ b/Services/SystemUpdateService.qml @@ -271,6 +271,12 @@ Singleton { if (root.isChecking) { return "ERROR: already checking" } + if (!distributionSupported) { + return "ERROR: distribution not supported" + } + if (!pkgManager && !updChecker) { + return "ERROR: update checker not available" + } root.checkForUpdates() return "SUCCESS: Now checking..." }