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
commite641bbfc1f05b1c7b7230f0445007821c8a98c5f (patch)
treef4e21fdd8e575a819c9d2eb38dcb932078a9e2ef
parent4a0877377d6c58ce1aae038e688a2637c1675e9f (diff)
downloaddrakx-e641bbfc1f05b1c7b7230f0445007821c8a98c5f.tar
drakx-e641bbfc1f05b1c7b7230f0445007821c8a98c5f.tar.gz
drakx-e641bbfc1f05b1c7b7230f0445007821c8a98c5f.tar.bz2
drakx-e641bbfc1f05b1c7b7230f0445007821c8a98c5f.tar.xz
drakx-e641bbfc1f05b1c7b7230f0445007821c8a98c5f.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;
}