mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
Fix command to show holds https://github.com/webmin/webmin/issues/1198
This commit is contained in:
@ -406,7 +406,7 @@ if (&has_command("aptitude")) {
|
||||
# Get holds from apt-mark
|
||||
if (&has_command("apt-mark")) {
|
||||
&clean_language();
|
||||
&open_execute_command(PKGS, "apt-mark showhost 2>/dev/null", 1, 1);
|
||||
&open_execute_command(PKGS, "apt-mark showhold 2>/dev/null", 1, 1);
|
||||
while(<PKGS>) {
|
||||
if (/^([^:\s]+)/) {
|
||||
$hold{$1} = 1;
|
||||
|
Reference in New Issue
Block a user