diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-01 19:47:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-01 19:47:27 +0000 |
commit | e5151f1cae38b252eccde93faa63e12a33054504 (patch) | |
tree | 96731ae5fba4e008c44c5641ebd82f139a1f5eae | |
parent | 45d7eadb3b58f569382f6557d053767cbd0127a2 (diff) | |
download | drakx-e5151f1cae38b252eccde93faa63e12a33054504.tar drakx-e5151f1cae38b252eccde93faa63e12a33054504.tar.gz drakx-e5151f1cae38b252eccde93faa63e12a33054504.tar.bz2 drakx-e5151f1cae38b252eccde93faa63e12a33054504.tar.xz drakx-e5151f1cae38b252eccde93faa63e12a33054504.zip |
simplify
-rwxr-xr-x | perl-install/standalone/drakbug | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index 508eda66b..b9f7bc667 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -104,9 +104,12 @@ gtkadd($window->{window}, my $component = $app ? if_(member($app, @all_drakxtools), $app) || $mdk_app->{$app} : $product; - my $options .= 'cf_rpmpkg=' . join('-', $product, $version) if $product || $version; - $options .= '&component=Core%20Packages'; - $options .= '&classification=Mandriva%20Linux'; + my $options = join('&', + ($product || $version ? + 'cf_rpmpkg=' . join('-', $product, $version) :()), + 'component=Core%20Packages', + 'classification=Mandriva%20Linux' + ); print($bugzilla_url . "?" . $options . "\n"); require run_program; run_program::raw({ detach => 1 }, '/usr/bin/www-browser', "$bugzilla_url?$options"); |