summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2005-12-12 17:03:26 +0100
committerwurblzap%gmail.com <>2005-12-12 17:03:26 +0100
commit34811ca74fa0fdb207f70541f6c3b3565eb4ba30 (patch)
treea44c96c29d9e1b104d8d016956e353008cd69735
parent54386ed0ff60e61046ed99bb4777c9b0e5c5689f (diff)
downloadbugzilla-34811ca74fa0fdb207f70541f6c3b3565eb4ba30.tar.gz
bugzilla-34811ca74fa0fdb207f70541f6c3b3565eb4ba30.tar.xz
Bug 319220: checksetup.pl can't cope with a standard CVS install or update.
Patch by Marc Schumann <wurblzap@gmail.com>, r=LpSolit, a=justdave
-rwxr-xr-xchecksetup.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 614d1d7aa..7f207faf4 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1262,6 +1262,8 @@ unless ($switch{'no_templates'}) {
foreach my $dir (@files) {
next if($dir =~ /^CVS$/i);
+ -d "$templatedir/$dir/custom" || -d "$templatedir/$dir/default"
+ || next;
local $ENV{'HTTP_ACCEPT_LANGUAGE'} = $dir;
SetParam("languages", "$dir,en");
$::template = Bugzilla::Template->create(clean_cache => 1);