mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Run apt-get update before returning possible updates
This commit is contained in:
@@ -194,6 +194,7 @@ return @rv;
|
||||
# Returns a list of available package updates
|
||||
sub update_system_updates
|
||||
{
|
||||
&execute_command("$apt_get_command update");
|
||||
if (&has_command("apt-show-versions")) {
|
||||
# This awesome command can give us all updates in one hit, and takes
|
||||
# pinned versions and backports into account
|
||||
|
||||
Reference in New Issue
Block a user