diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-04 10:46:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-04 10:46:13 +0000 |
commit | df19739902144bcbcd2e8037f9f1ca71a653a485 (patch) | |
tree | b72c021babbb8e06a7ac17d1314121814253848e | |
parent | 64e61d2a7fa74985ae689bf940c1ae4df5843403 (diff) | |
download | drakx-backup-do-not-use-df19739902144bcbcd2e8037f9f1ca71a653a485.tar drakx-backup-do-not-use-df19739902144bcbcd2e8037f9f1ca71a653a485.tar.gz drakx-backup-do-not-use-df19739902144bcbcd2e8037f9f1ca71a653a485.tar.bz2 drakx-backup-do-not-use-df19739902144bcbcd2e8037f9f1ca71a653a485.tar.xz drakx-backup-do-not-use-df19739902144bcbcd2e8037f9f1ca71a653a485.zip |
(_install_raw::close_helper) use package summary translations once 'mdv-rpm-summary' is installed
-rw-r--r-- | perl-install/install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/install/pkgs.pm | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 35929396d..482ed1e56 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,5 +1,6 @@ - really set urpmi in automatic mode for non-interactive installs (and not vice-versa) +- use package summary translations once 'mdv-rpm-summary' is installed Version 12.1 - 3 March 2009 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, |