diff options
author | Francois Pons <fpons@mandriva.com> | 2001-07-02 17:08:09 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-07-02 17:08:09 +0000 |
commit | be05e4a5a7a08df909b2713faa0d7c72b487fd9c (patch) | |
tree | 0b83a14a0f237399351e4698117f9a00a332b40b /urpm.pm | |
parent | ab6ad72f9f7379713af3cb358d2f829acebed5c4 (diff) | |
download | urpmi-be05e4a5a7a08df909b2713faa0d7c72b487fd9c.tar urpmi-be05e4a5a7a08df909b2713faa0d7c72b487fd9c.tar.gz urpmi-be05e4a5a7a08df909b2713faa0d7c72b487fd9c.tar.bz2 urpmi-be05e4a5a7a08df909b2713faa0d7c72b487fd9c.tar.xz urpmi-be05e4a5a7a08df909b2713faa0d7c72b487fd9c.zip |
*** empty log message ***
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -918,7 +918,7 @@ sub register_local_packages { $urpm->{fatal}(7, _("rpmtools package is too old, please upgrade it")); } } - $error and die "error registering local packages"; + $error and $urpm->{fatal}(1, _("error registering local packages")); #- compute depslist associated. $urpm->{params}->compute_depslist; @@ -1020,7 +1020,7 @@ sub search_packages { $best->{info}{release}); if ($_->{info}{serial} > $best->{info}{serial} || $cmp_version > 0 || $cmp_release > 0 || ($_->{info}{serial} == $best->{info}{serial} && $cmp_version == 0 && $cmp_release == 0 && - better_arch($_->{info}{arch}, $best->{info}{arch}))) { + rpmtools::better_arch($_->{info}{arch}, $best->{info}{arch}))) { $best = $_; } } else { |