summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl b/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl
index f1050186e03..6b55cc79b26 100755
--- a/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl
+++ b/Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl
@@ -439,14 +439,14 @@ sub update_selected_packages {
# argument processing
# in case we have critical updates present we do put the list of
# critical updates into the argument instead of --all
- if ($_[0] eq "--all") {
- if ($critical_updates_present) {
- push @args, @updatepackages;
- } else {
+ if ($critical_updates_present) {
+ $opts{"self"} = 1;
+ } else {
+ if ($_[0] eq "--all") {
$opts{"all"} = 1;
+ # shift away the --all
+ shift;
}
- # shift away the --all
- shift;
}
push @args, @_;
execute_action_gui(@args);