projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bafb2dd
)
Run apt-get update before returning possible updates
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 23 Mar 2010 05:17:02 +0000
(22:17 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 23 Mar 2010 05:17:02 +0000
(22:17 -0700)
software/apt-lib.pl
patch
|
blob
|
history
diff --git
a/software/apt-lib.pl
b/software/apt-lib.pl
index
87238ee
..
7d87116
100755
(executable)
--- a/
software/apt-lib.pl
+++ b/
software/apt-lib.pl
@@
-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