summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakbug
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-01 20:50:26 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-01 20:50:26 +0000
commit73b3830330ebd3175ed358a448d1e91b31918916 (patch)
tree549a0a92a9ba6a0424699295d70fa935ededce78 /perl-install/standalone/drakbug
parent9becc48da70169c2a45f09f945dd7f4bd67a3fce (diff)
downloaddrakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.tar
drakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.tar.gz
drakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.tar.bz2
drakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.tar.xz
drakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.zip
fix crashing on unknown programs
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-xperl-install/standalone/drakbug2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug
index d2d3fd2a9..b8ba268f2 100755
--- a/perl-install/standalone/drakbug
+++ b/perl-install/standalone/drakbug
@@ -89,7 +89,7 @@ $table = create_packtable({ col_spacings => 5, row_spacings => 10 },
[ gtknew('Label_Left', text => N("Package: ")), $package = Gtk2::Entry->new_with_text("...") ], # complain on gtk-perl@ml
[ gtknew('Label_Left', text => N("Kernel:")), gtkset_editable(Gtk2::Entry->new_with_text($kernel_release), 0) ]
);
-$comb_app->set_popdown_strings("", sort(@generic_tool));
+$comb_app->set_popdown_strings("", uniq(sort(@generic_tool), if_($prog, $prog)));
$comb_app->set_text("");
gtkadd($window->{window},