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 | |
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
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | urpm/install.pm | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@ - urpmi o when using --urpmi-root, load <root>/etc/rpm/macros + o enable GUIes to display uninstallations - urpmi.cfg o really add global option no-suggests 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++; |