summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);