summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-13 21:37:22 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-13 21:37:22 +0000
commit59b3b6e27042a68b7142f74478b8ccfeeb24d94c (patch)
tree26cd5434dbe72cf869dd7364a89f9900234b6bda /perl-install
parent9ac51eac8d258532a8301fa162fbb306394fe521 (diff)
downloaddrakx-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.tar
drakx-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.tar.gz
drakx-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.tar.bz2
drakx-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.tar.xz
drakx-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.zip
run the regular user browser (#33522)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/drakbug6
2 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d50b945b7..90c6f05ae 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,8 @@
- distinct exceptions from segfaults, thus restoring catching SIGSEGV
and preventing looping while segfaulting again
- fix loading of tifm_sd module (#18237)
+- drakbug:
+ o run the regular user browser (#33522)
Version 10.4.193 - 13 September 2007, by Thierry Vignaud
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug
index df4c30a65..127ab910b 100755
--- a/perl-install/standalone/drakbug
+++ b/perl-install/standalone/drakbug
@@ -92,6 +92,8 @@ $table = create_packtable({ col_spacings => 5, row_spacings => 10 },
$comb_app->set_popdown_strings("", uniq(sort(@generic_tool), if_($prog, $prog)));
$comb_app->set_text("");
+my $parent_uid = get_parent_uid();
+
gtkadd($window->{window},
gtkpack_(Gtk2::VBox->new(0, 5),
0, gtknew('Title1', label => $mandrake_release),
@@ -145,7 +147,9 @@ qq(If you can, try to run the "$prog" program from a terminal and copy and paste
);
print($bugzilla_url . "?" . $options . "\n");
require run_program;
- run_program::raw({ detach => 1 }, '/usr/bin/www-browser', "$bugzilla_url?$options");
+ run_program::raw({ detach => 1 },
+ if_($parent_uid, 'sudo', '-u', "#$parent_uid"),
+ '/usr/bin/www-browser', "$bugzilla_url?$options");
}
),
gtksignal_connect(Gtk2::Button->new(N("Close")), clicked => sub { ugtk2->exit(0) }),