From b33e772cd8d0ec0b391321c143614530b3205b31 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 7 Mar 2002 10:51:33 +0000 Subject: urpmi for RC 8.2 (3.3-20mdk) --- urpmi | 3 ++- urpmi.spec | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/urpmi b/urpmi index 2bd36d11..226527a4 100755 --- a/urpmi +++ b/urpmi @@ -251,6 +251,7 @@ my $ask_choice = sub { while (1) { printf SAVEOUT _("What is your choice? (1-%d) ", $i); $n = ; + defined $n or exit 1; 1 <= $n && $n <= $i and last; print SAVEOUT _("Sorry, bad choice, try again\n"); } @@ -351,7 +352,7 @@ my %sources = $urpm->download_source_packages($local_sources, $list, ($X ? '' : } else { print SAVEOUT "$msg\n$msg2 "; } - ; 1; + defined ; } }); diff --git a/urpmi.spec b/urpmi.spec index 271f53a0..ae7117d9 100644 --- a/urpmi.spec +++ b/urpmi.spec @@ -2,7 +2,7 @@ Name: urpmi Version: 3.3 -Release: 19mdk +Release: 20mdk License: GPL Source0: %{name}.tar.bz2 Source1: %{name}.logrotate @@ -144,6 +144,10 @@ fi %changelog +* Thu Mar 7 2002 François Pons 3.3-20mdk +- fixed when console has been closed and urpmi ask for changing + medium (currently it open/eject the device). + * Tue Mar 5 2002 François Pons 3.3-19mdk - fixed parse_synthesis when a the src package is following its binary counterpart (overidding its description). -- cgit v1.2.1