summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 12:04:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 12:04:24 +0000
commit3ab15eae460817ca35424a2e09dddf44cbe7d115 (patch)
tree769c749b41a8da6c9ee69965764162e7292ab76e
parent820f15c75bb1f732e0732505437dda8db1733b65 (diff)
downloadurpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.tar
urpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.tar.gz
urpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.tar.bz2
urpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.tar.xz
urpmi-3ab15eae460817ca35424a2e09dddf44cbe7d115.zip
(do_install_3) do not exit in --auto mode at end of installation which prevents
restarting after priority upgrade
-rw-r--r--NEWS3
-rwxr-xr-xgurpmi22
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index df8580a4..20442821 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- gurpmi:
+ o fix exiting in --auto mode
+
Version 6.14 - 23 September 2008
- use "versioned" media_info files
diff --git a/gurpmi2 b/gurpmi2
index 944c2a15..1301c6d1 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -317,7 +317,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};
+ return 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);