summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-09-20 15:17:24 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-09-20 15:17:24 +0000
commit15b9d6f9c120488a394d5db512f08b1b309836a9 (patch)
treea60245810c4acaecf60cf8c86ff9453b6d05560e
parent5f04acb952cc09053fe38193bef9ad0504662c6f (diff)
downloadurpmi-15b9d6f9c120488a394d5db512f08b1b309836a9.tar
urpmi-15b9d6f9c120488a394d5db512f08b1b309836a9.tar.gz
urpmi-15b9d6f9c120488a394d5db512f08b1b309836a9.tar.bz2
urpmi-15b9d6f9c120488a394d5db512f08b1b309836a9.tar.xz
urpmi-15b9d6f9c120488a394d5db512f08b1b309836a9.zip
in --auto under X, does not display anymore the sucking interactive dialog
"everything already installed"
-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