summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-19 10:00:53 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-19 10:00:53 +0000
commit85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b (patch)
tree2aeffa2cf534a4e7c59c7f689f6b9725b5bd85a4 /perl-install/standalone
parentb8a58b962211e6daa9fb5d3633083e6c6b205ba6 (diff)
downloaddrakx-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.tar
drakx-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.tar.gz
drakx-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.tar.bz2
drakx-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.tar.xz
drakx-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.zip
simplify
Diffstat (limited to 'perl-install/standalone')
-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 22f388fc0..12dacbef0 100755
--- a/perl-install/standalone/drakbug
+++ b/perl-install/standalone/drakbug
@@ -203,7 +203,7 @@ sub update_app {
$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";
if (member($text,@all_drakxtools) || $text eq N("Standalone Tools")) {
$app_choice = chomp_(`rpm -q drakxtools`);
- } elsif (member($text, keys %$mdk_app) && $text ne N("Standalone Tools")) {
+ } elsif (exists($mdk_app->{$text}) && $text ne N("Standalone Tools")) {
$app_choice = get_package($mdk_app->{$text});
} else {
LOOP: while (my ($key, $value) = each %$mdk_app) {