summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-04 10:46:13 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-04 10:46:13 +0000
commitdf19739902144bcbcd2e8037f9f1ca71a653a485 (patch)
treeb72c021babbb8e06a7ac17d1314121814253848e /perl-install/install/pkgs.pm
parent64e61d2a7fa74985ae689bf940c1ae4df5843403 (diff)
downloaddrakx-df19739902144bcbcd2e8037f9f1ca71a653a485.tar
drakx-df19739902144bcbcd2e8037f9f1ca71a653a485.tar.gz
drakx-df19739902144bcbcd2e8037f9f1ca71a653a485.tar.bz2
drakx-df19739902144bcbcd2e8037f9f1ca71a653a485.tar.xz
drakx-df19739902144bcbcd2e8037f9f1ca71a653a485.zip
(_install_raw::close_helper) use package summary translations once 'mdv-rpm-summary' is installed
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r--perl-install/install/pkgs.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index edf34dd84..897cd8fa1 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -740,6 +740,10 @@ sub _install_raw {
my ($p) = @_;
$check_installed ||= $pkg->compare_pkg($p) == 0;
});
+ if ($pkg->name eq 'mdv-rpm-summary' && $check_installed) {
+ install::pkgs::setup_rpm_summary_translations();
+ }
+
$check_installed or log::l($pkg->name . " not installed, " . URPM::rpmErrorString());
$check_installed and $close->($pkg);
}, inst => $callback,