diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-03 15:08:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-03 15:08:14 +0000 |
commit | 05ca1f54f8aea97462a1265f3d151a792b838296 (patch) | |
tree | 62560e89696ecbe7e40e412d343740bdc8230245 | |
parent | a9a461c295a866f3b3dfe7daca710f36f8a2aff2 (diff) | |
download | urpmi-05ca1f54f8aea97462a1265f3d151a792b838296.tar urpmi-05ca1f54f8aea97462a1265f3d151a792b838296.tar.gz urpmi-05ca1f54f8aea97462a1265f3d151a792b838296.tar.bz2 urpmi-05ca1f54f8aea97462a1265f3d151a792b838296.tar.xz urpmi-05ca1f54f8aea97462a1265f3d151a792b838296.zip |
(do_install_3) make completed() callback return instead of waiting
while displaying a success message in automatic mode
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | gurpmi2 | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,8 @@ o use hal to wait-for/mount cdroms: you can now use more than one cdrom drive o fix download progression using wget +- gurpmi: + o exit immediately on success in automatic mode - urpmf, urpmq: o never display raw downloader output, otherwise output is very messy (#38125) o do not try to download xml-info if it's not available (#38125) @@ -283,6 +283,7 @@ sub do_install_3 () { urpm::removable::try_umounting_removables($urpm); $vbox = Gtk2::VBox->new(0, 5); $progress_label = Gtk2::Label->new('-'); + exit 0 if $gurpmi::options{auto}; my $sw = create_scrolled_window($progress_label); $sw->set_size_request(500, 200); $vbox->pack_start($sw, 1, 1, 0); |