diff options
author | Francois Pons <fpons@mandriva.com> | 2001-03-05 17:07:53 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-03-05 17:07:53 +0000 |
commit | 1a06c954e1f96ec44241fdcb0749cb2e5a4d0385 (patch) | |
tree | 3221a3985d00cf1c83795dadd33b08abd53410ec | |
parent | 91a51b48ebf2548e16dd63457bf96fa7f81aad29 (diff) | |
download | urpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.tar urpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.tar.gz urpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.tar.bz2 urpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.tar.xz urpmi-1a06c954e1f96ec44241fdcb0749cb2e5a4d0385.zip |
*** empty log message ***
-rw-r--r-- | urpm.pm | 2 | ||||
-rwxr-xr-x | urpmi | 8 | ||||
-rw-r--r-- | urpmi.spec | 6 |
3 files changed, 10 insertions, 6 deletions
@@ -1102,7 +1102,7 @@ sub filter_minimal_packages_to_upgrade { exists $packages->{$choices[0]{id}} or $packages->{$choices[0]{id}} = 1; unshift @packages, $choices[0]{id}; } else { - push @packages, [ sort { $a->{id} <=> $b->{id} } @choices ]; + push @packages, [ sort { $a <=> $b } map { $_->{id} } @choices ]; } } } @@ -285,14 +285,14 @@ sub install { $noexpr = _("Nn"); $yesexpr = _("Yy"); - print SAVEOUT _("Try installation without checking dependencies? (Y/n) "); - $force or <STDIN> =~ /[$noexpr]/ and exit 1; + print SAVEOUT _("Try installation without checking dependencies? (y/N) "); + $force or <STDIN> =~ /[$yesexpr]/ or exit 1; system("rpm", $rpm_opt, "--nodeps", @_); if ($?) { message(_("Installation failed")); - print SAVEOUT _("Try installation even more strongly (--force)? (Y/n) "); - $force or <STDIN> =~ /[$noexpr]/ and exit 0; + print SAVEOUT _("Try installation even more strongly (--force)? (y/N) "); + $force or <STDIN> =~ /[$yesexpr]/ or exit 0; system("rpm", $rpm_opt, "--nodeps", "--force", @_); } } @@ -2,7 +2,7 @@ Name: urpmi Version: 1.5 -Release: 16mdk +Release: 17mdk License: GPL Source0: %{name}.tar.bz2 Summary: User mode rpm install @@ -113,6 +113,10 @@ autoirpm.uninstall %changelog +* Mon Mar 5 2001 François Pons <fpons@mandrakesoft.com> 1.5-17mdk +- fixed ask choices for urpmi -m mode. +- changed default behaviour to abort transaction on error. + * Mon Mar 5 2001 François Pons <fpons@mandrakesoft.com> 1.5-16mdk - make sure to kill sub process that are doing log to avoid lock. |