diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2000-09-20 15:17:24 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2000-09-20 15:17:24 +0000 |
commit | 15b9d6f9c120488a394d5db512f08b1b309836a9 (patch) | |
tree | a60245810c4acaecf60cf8c86ff9453b6d05560e | |
parent | 5f04acb952cc09053fe38193bef9ad0504662c6f (diff) | |
download | urpmi-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-x | urpmi | 5 | ||||
-rw-r--r-- | urpmi.spec | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -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, @_; @@ -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 |