aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages-update5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages-update b/packages-update
index 738ba2a..7d161c2 100644
--- a/packages-update
+++ b/packages-update
@@ -8,6 +8,11 @@
:local Update [ / system package update get ];
+:if ([ :typeof ($Update->"latest-version") ] = "nothing") do={
+ :log warning "Latest version is not known.";
+ :error "Latest version is not known.";
+}
+
:if ($Update->"installed-version" = $Update->"latest-version") do={
:log info ("Version " . $Update->"latest-version" . " is already installed.");
:error "No updates available.";