summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xurpmi4
-rw-r--r--urpmi.spec5
3 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 46bce803..aaba2e93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-01-06 Pixel <pixel@mandrakesoft.com>
+
+ * urpmi: tty question now defaults to yes (y/N -> N/y)
+
2000-01-04 Chmouel Boudjnah <chmouel@mandrakesoft.com>
* rpmf: use egrep.
diff --git a/urpmi b/urpmi
index bc20b251..5989b553 100755
--- a/urpmi
+++ b/urpmi
@@ -85,8 +85,8 @@ if (!$auto and difference2(\@to_install, \@packages)) {
`gmessage -default $ok -buttons "$ok:0,$cancel:2" "$msg:\n$p\n\n$msg2"`;
$? and exit 0;
} else {
- print SAVEOUT "$msg:\n@to_install\n$msg2 (y/N) ";
- <STDIN> =~ /y/i or exit 0;
+ print SAVEOUT "$msg:\n@to_install\n$msg2 (Y/n) ";
+ <STDIN> =~ /n/i or exit 0;
}
}
diff --git a/urpmi.spec b/urpmi.spec
index e2a9e5a7..8f7f768b 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 0.9
-Release: 34mdk
+Release: 35mdk
License: GPL
Source0: %{name}.tar.bz2
Summary: User mode rpm install
@@ -17,6 +17,9 @@ well-known rpms to be installed.
You can compare rpm vs. urpmi with insmod vs. modprobe
%changelog
+* Thu Jan 6 2000 Pixel <pixel@mandrakesoft.com>
+- urpmi: tty question now defaults to yes (y/N -> N/y)
+
* Tue Jan 4 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.9-34mdk
- rpmf: use egrep.