diff options
-rwxr-xr-x | urpmi | 3 | ||||
-rw-r--r-- | urpmi.spec | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -251,6 +251,7 @@ my $ask_choice = sub { while (1) { printf SAVEOUT _("What is your choice? (1-%d) ", $i); $n = <STDIN>; + 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 "; } - <STDIN>; 1; + defined <STDIN>; } }); @@ -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 <fpons@mandrakesoft.com> 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 <fpons@mandrakesoft.com> 3.3-19mdk - fixed parse_synthesis when a the src package is following its binary counterpart (overidding its description). |