diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-28 14:08:14 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-28 14:08:14 +0000 |
commit | af42cbd250eb0bf9bbead0ec26469b4b2d205d19 (patch) | |
tree | 16005ba2f9996f5f96c0d77e97db083792a0b7c2 /perl-install/keyboard.pm | |
parent | 2ae28a55e353ea9cffc7ffd8678bdf57dd6051ac (diff) | |
download | drakx-backup-do-not-use-af42cbd250eb0bf9bbead0ec26469b4b2d205d19.tar drakx-backup-do-not-use-af42cbd250eb0bf9bbead0ec26469b4b2d205d19.tar.gz drakx-backup-do-not-use-af42cbd250eb0bf9bbead0ec26469b4b2d205d19.tar.bz2 drakx-backup-do-not-use-af42cbd250eb0bf9bbead0ec26469b4b2d205d19.tar.xz drakx-backup-do-not-use-af42cbd250eb0bf9bbead0ec26469b4b2d205d19.zip |
(loadkeys_files): ensure each file appear only once
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r-- | perl-install/keyboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm index aefb6ef5a..73c52142c 100644 --- a/perl-install/keyboard.pm +++ b/perl-install/keyboard.pm @@ -324,7 +324,7 @@ sub loadkeys_files { $err->("invalid loadkeys keytable $_") if $err; } } - @l, keys %l, grep { -e $_ } map { "$p/$_.inc.gz" } qw(compose euro windowkeys linux-keys-bare); + uniq(@l, keys %l, grep { -e $_ } map { "$p/$_.inc.gz" } qw(compose euro windowkeys linux-keys-bare)); } sub unpack_keyboards { |