diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-19 10:00:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-19 10:00:53 +0000 |
commit | 85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b (patch) | |
tree | 2aeffa2cf534a4e7c59c7f689f6b9725b5bd85a4 /perl-install/standalone/drakbug | |
parent | b8a58b962211e6daa9fb5d3633083e6c6b205ba6 (diff) | |
download | drakx-backup-do-not-use-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.tar drakx-backup-do-not-use-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.tar.gz drakx-backup-do-not-use-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.tar.bz2 drakx-backup-do-not-use-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.tar.xz drakx-backup-do-not-use-85bd39ce85fd41a5e6fc5c0b91b3c502cebd5e0b.zip |
simplify
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-x | perl-install/standalone/drakbug | 2 |
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) { |