diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-13 21:37:22 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-13 21:37:22 +0000 |
commit | 59b3b6e27042a68b7142f74478b8ccfeeb24d94c (patch) | |
tree | 26cd5434dbe72cf869dd7364a89f9900234b6bda /perl-install | |
parent | 9ac51eac8d258532a8301fa162fbb306394fe521 (diff) | |
download | drakx-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')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rwxr-xr-x | perl-install/standalone/drakbug | 6 |
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) }), |