diff options
author | Norbert Preining <preining@logic.at> | 2009-07-28 19:55:09 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-07-28 19:55:09 +0000 |
commit | b735648e83586b1a3accfaddd224bf0be4c6af1b (patch) | |
tree | 6f4a57db313118d1f46aa147a2aab585a08297d6 /Master | |
parent | 3fb0da12932f7445af2a538cbdaf78a7cb081986 (diff) |
work on updates using --self in tlmgrgui
git-svn-id: svn://tug.org/texlive/trunk@14483 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgrgui/tlmgrgui.pl | 12 |
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); |