From c4f39f56f83da2a81c5578ffd5c55b2936f03f91 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Fri, 29 Dec 2023 13:37:45 +0200 Subject: [PATCH] Fix to use alternating page name https://github.com/webmin/webmin/commit/e418b4c1780c54b93989e0ed77eda35be3b090c9 --- package-updates/update.cgi | 4 ++++ software/yum-lib.pl | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package-updates/update.cgi b/package-updates/update.cgi index 912ef3c38..5aef48623 100755 --- a/package-updates/update.cgi +++ b/package-updates/update.cgi @@ -112,6 +112,8 @@ else { # Do it $msg = $in{'mode'} eq 'new' ? 'update_pkg2' : 'update_pkg'; + $flags = join(" ", map { /^--/ ? $_ : () } @pkgs); + @pkgs = grep { !/^--/ } @pkgs; &start_update_progress([ map { (split(/\//, $_))[0] } @pkgs ]); if ($config{'update_multiple'} && @pkgs > 1) { # Update all packages at once @@ -124,6 +126,7 @@ else { print &text($msg, "".&html_escape(join(" ", @pkgnames)).""), "
\n"; print "
\n"; @@ -135,6 +138,7 @@ else { next if ($donedep{$p}); print &text($msg, "@{[&html_escape($p)]}"),"
\n"; print "