summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-13 19:00:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-13 19:00:23 +0000
commit4a7d3e7907cef0a929a57c0183506936a96551e8 (patch)
treee15af81aafb7fde8134b41b974e9626025893e39
parentf3d4982ee69b96a618f014e59edb88ab3802848c (diff)
downloaddrakx-backup-do-not-use-4a7d3e7907cef0a929a57c0183506936a96551e8.tar
drakx-backup-do-not-use-4a7d3e7907cef0a929a57c0183506936a96551e8.tar.gz
drakx-backup-do-not-use-4a7d3e7907cef0a929a57c0183506936a96551e8.tar.bz2
drakx-backup-do-not-use-4a7d3e7907cef0a929a57c0183506936a96551e8.tar.xz
drakx-backup-do-not-use-4a7d3e7907cef0a929a57c0183506936a96551e8.zip
only list one tz for chinas (hp release)
-rw-r--r--perl-install/timezone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/timezone.pm b/perl-install/timezone.pm
index f09bbdf1b..81d59f3b9 100644
--- a/perl-install/timezone.pm
+++ b/perl-install/timezone.pm
@@ -11,7 +11,7 @@ sub getTimeZones {
my ($prefix) = @_;
$::testing and $prefix = '';
open(my $F, "cd $prefix/usr/share/zoneinfo && find [A-Z]* -type f |");
- my @l = chomp_(<$F>);
+ my @l = difference2([ chomp_(<$F> ]), [ 'ROC', 'PRC'] );
close $F or die "cannot list the available zoneinfos";
sort @l;
}