diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-09-05 12:15:23 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-09-05 12:15:23 +0000 |
commit | 8251c154b88d4c32bcb96cf80e8cd4bcf526a24b (patch) | |
tree | 757b0a859fb6c80d774867a1512c367fea33d0c3 | |
parent | 8d58db1534e63417aca9322fe5917d613926a2f2 (diff) | |
download | drakx-backup-do-not-use-8251c154b88d4c32bcb96cf80e8cd4bcf526a24b.tar drakx-backup-do-not-use-8251c154b88d4c32bcb96cf80e8cd4bcf526a24b.tar.gz drakx-backup-do-not-use-8251c154b88d4c32bcb96cf80e8cd4bcf526a24b.tar.bz2 drakx-backup-do-not-use-8251c154b88d4c32bcb96cf80e8cd4bcf526a24b.tar.xz drakx-backup-do-not-use-8251c154b88d4c32bcb96cf80e8cd4bcf526a24b.zip |
workaround kde control center calling localedrake with an empty kde lang
-rw-r--r-- | perl-install/standalone/localedrake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake index ef72f498e..499fa6350 100644 --- a/perl-install/standalone/localedrake +++ b/perl-install/standalone/localedrake @@ -15,7 +15,8 @@ foreach (@ARGV) { $klang = $1 if /--kde_lang=(.*)/; $country = $1 if /--kde_country=(.*)/; } -if ($klang) { +if (defined $klang) { + $klang or exit; my $lang = lang::kde_lang_country2lang($klang, $country); lang::write('', $lang, $>, 'dont_touch_kde_files') if $apply; |