summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-03-07 10:51:33 +0000
committerFrancois Pons <fpons@mandriva.com>2002-03-07 10:51:33 +0000
commitb33e772cd8d0ec0b391321c143614530b3205b31 (patch)
tree36da82d46ac58d013fca579aa8f38a81323590d7
parentd55360c5be595c9502853c9cd6afe32ec179cb4a (diff)
downloadurpmi-b33e772cd8d0ec0b391321c143614530b3205b31.tar
urpmi-b33e772cd8d0ec0b391321c143614530b3205b31.tar.gz
urpmi-b33e772cd8d0ec0b391321c143614530b3205b31.tar.bz2
urpmi-b33e772cd8d0ec0b391321c143614530b3205b31.tar.xz
urpmi-b33e772cd8d0ec0b391321c143614530b3205b31.zip
urpmi for RC 8.2 (3.3-20mdk)
-rwxr-xr-xurpmi3
-rw-r--r--urpmi.spec6
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 = <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>;
}
});
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 <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).