diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-11-30 14:07:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-11-30 14:07:56 +0000 |
commit | 55ebe210c0f64de80f40e5bc4a89514b9a38a147 (patch) | |
tree | befca1bbdda26faba386305f9ae5a3f286298918 /perl-install | |
parent | e475fa304b092b9f075484a65d908324f6d5322d (diff) | |
download | drakx-55ebe210c0f64de80f40e5bc4a89514b9a38a147.tar drakx-55ebe210c0f64de80f40e5bc4a89514b9a38a147.tar.gz drakx-55ebe210c0f64de80f40e5bc4a89514b9a38a147.tar.bz2 drakx-55ebe210c0f64de80f40e5bc4a89514b9a38a147.tar.xz drakx-55ebe210c0f64de80f40e5bc4a89514b9a38a147.zip |
remove unused code
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/lang.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 89d7ce5bc..785e34c63 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -558,7 +558,7 @@ my @IM_i18n_fields = ( #- XIM server; or a Qt plugin if exists) ); -my ($is_kde3, $is_kde4, $_is_gtk); +my ($is_kde3, $is_kde4); # keep the 'packages' field in sync with share/rpmsrate: my %IM_config = @@ -735,7 +735,6 @@ sub IM2packages { my @sessions = any::sessions(); $is_kde3 = member('KDE', @sessions) || 1; $is_kde4 = member('KDE4', @sessions); - $_is_gtk = any { !/KDE/i } @sessions; my $per_lang = $IM_config{$locale->{IM}}{packages} || {}; my $lang = analyse_locale_name($locale->{lang})->{main}; my $packages = $per_lang->{$lang} || $per_lang->{generic}; |