mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Fix to use dumpavail instead 8cc0aaad04 (commitcomment-36978163)
This commit is contained in:
@@ -168,7 +168,7 @@ local (@rv, $pkg, %done);
|
||||
# Use dump to get versions
|
||||
&execute_command("$apt_get_command update");
|
||||
&clean_language();
|
||||
&open_execute_command(DUMP, "apt-cache dump 2>/dev/null", 1, 1);
|
||||
&open_execute_command(DUMP, "apt-cache dumpavail 2>/dev/null", 1, 1);
|
||||
while(<DUMP>) {
|
||||
if (/^\s*Package:\s*(\S+)/) {
|
||||
$pkg = { 'name' => $1 };
|
||||
|
||||
Reference in New Issue
Block a user