diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:07:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-13 09:07:51 +0000 |
commit | 89f8ab51c0b4bf3701fe9291736a58483ddf7c00 (patch) | |
tree | 118c829ef4199178eef385faca09bb2b4f4a73ef /urpm/install.pm | |
parent | 79f7c0fc83b31b3d6971277735875baa2eb8f49a (diff) | |
download | urpmi-89f8ab51c0b4bf3701fe9291736a58483ddf7c00.tar urpmi-89f8ab51c0b4bf3701fe9291736a58483ddf7c00.tar.gz urpmi-89f8ab51c0b4bf3701fe9291736a58483ddf7c00.tar.bz2 urpmi-89f8ab51c0b4bf3701fe9291736a58483ddf7c00.tar.xz urpmi-89f8ab51c0b4bf3701fe9291736a58483ddf7c00.zip |
(install) add support for "callback_report_uninst" callback for rpmdrake
Diffstat (limited to 'urpm/install.pm')
-rw-r--r-- | urpm/install.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/install.pm b/urpm/install.pm index b758923c..d6a484bc 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -204,6 +204,7 @@ sub install { if (member($name, @previous)) { $urpm->{log}("removing upgraded package $fullname"); } else { + $options{callback_report_uninst} and $options{callback_report_uninst}->(N("Removing package %s", $fullname)); print N("removing package %s", $fullname), "\n" if $options{verbose} >= 0; } $index++; |