diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:08:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:08:36 +0000 |
commit | d8c86111923137c7b792142d95f92b11829ebc74 (patch) | |
tree | 6bfa78340b8b669d8eb8641dd5408d21b9bcf5f5 /urpm | |
parent | 9f41baef1c87c6bf99f649b491826e8611b45a8e (diff) | |
download | urpmi-d8c86111923137c7b792142d95f92b11829ebc74.tar urpmi-d8c86111923137c7b792142d95f92b11829ebc74.tar.gz urpmi-d8c86111923137c7b792142d95f92b11829ebc74.tar.bz2 urpmi-d8c86111923137c7b792142d95f92b11829ebc74.tar.xz urpmi-d8c86111923137c7b792142d95f92b11829ebc74.zip |
(run) introduce "already_installed_or_not_installable" callback for GUIes
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/main_loop.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 6bd42200..0f074ef3 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -274,6 +274,7 @@ if ($nok) { @error == 1 ? N("Package %s can not be installed", join(', ', @error)) : N("Packages %s can not be installed", join(', ', @error)); + $callbacks->{already_installed_or_not_installable} and $callbacks->{already_installed_or_not_installable}->(\@msg1, \@msg2); print join("\n", @msg1, @msg2, ''); } } |