summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi5
-rw-r--r--urpmi.spec6
2 files changed, 9 insertions, 2 deletions
diff --git a/urpmi b/urpmi
index 59de00c3..ce487dfe 100755
--- a/urpmi
+++ b/urpmi
@@ -372,7 +372,7 @@ foreach (sort keys %removables) {
install(@to_install_long) if $removables{0} || $removables{1};
-$something_was_installed or message(_("everything already installed"));
+$something_was_installed or message_auto(_("everything already installed"));
#- remove any reference to package in choices,
@@ -427,6 +427,9 @@ sub toMb {
}
sub message { $X ? `gmessage -default Ok -buttons Ok "$_[0]"` : print SAVEOUT "$_[0]\n"; }
+
+sub message_auto { $auto ? print SAVEOUT "$_[0]\n" : message($_[0]); }
+
sub _ {
my $s = shift @_; my $t = translate($s);
$t && ref $t or return sprintf $t, @_;
diff --git a/urpmi.spec b/urpmi.spec
index 75a5eef7..c0861b87 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 1.3
-Release: 8mdk
+Release: 9mdk
License: GPL
Source0: %{name}.tar.bz2
Summary: User mode rpm install
@@ -104,6 +104,10 @@ autoirpm.uninstall
%changelog
+* Wed Sep 20 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.3-9mdk
+- in --auto under X, does not display anymore the sucking interactive dialog
+ "everything already installed"
+
* Wed Sep 20 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.3-8mdk
- added option --best-output that selects X if available