summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakbug
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/standalone/drakbug
parent9ac51eac8d258532a8301fa162fbb306394fe521 (diff)
downloaddrakx-backup-do-not-use-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.tar
drakx-backup-do-not-use-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.tar.gz
drakx-backup-do-not-use-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.tar.bz2
drakx-backup-do-not-use-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.tar.xz
drakx-backup-do-not-use-59b3b6e27042a68b7142f74478b8ccfeeb24d94c.zip
run the regular user browser (#33522)
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-xperl-install/standalone/drakbug6
1 files changed, 5 insertions, 1 deletions
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) }),