From 058230ab3dd1fcdf40b2bec41b0786cd4bd44db3 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 18 Mar 2023 16:30:09 -0700 Subject: [PATCH] Clear caches before checking for updates, so it's always fresh https://github.com/webmin/webmin/issues/1863 --- package-updates/update.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package-updates/update.pl b/package-updates/update.pl index ff4750f4f..1f93cd596 100755 --- a/package-updates/update.pl +++ b/package-updates/update.pl @@ -9,6 +9,8 @@ if ($ARGV[0] eq "--debug" || $ARGV[0] eq "-debug") { } # See what needs doing +&flush_package_caches(); +&clear_repository_cache(); @todo = &list_possible_updates(); foreach $a (@todo) { $a->{'level'} = $a->{'security'} ? 1 : 2;