summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakbug
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-01 19:47:27 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-01 19:47:27 +0000
commite5151f1cae38b252eccde93faa63e12a33054504 (patch)
tree96731ae5fba4e008c44c5641ebd82f139a1f5eae /perl-install/standalone/drakbug
parent45d7eadb3b58f569382f6557d053767cbd0127a2 (diff)
downloaddrakx-backup-do-not-use-e5151f1cae38b252eccde93faa63e12a33054504.tar
drakx-backup-do-not-use-e5151f1cae38b252eccde93faa63e12a33054504.tar.gz
drakx-backup-do-not-use-e5151f1cae38b252eccde93faa63e12a33054504.tar.bz2
drakx-backup-do-not-use-e5151f1cae38b252eccde93faa63e12a33054504.tar.xz
drakx-backup-do-not-use-e5151f1cae38b252eccde93faa63e12a33054504.zip
simplify
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-xperl-install/standalone/drakbug9
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");