From: wurblzap%gmail.com <> Date: Mon, 12 Dec 2005 16:03:26 +0000 (+0000) Subject: Bug 319220: checksetup.pl can't cope with a standard CVS install or update. X-Git-Tag: bugzilla-2.22rc1~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34811ca74fa0fdb207f70541f6c3b3565eb4ba30;p=thirdparty%2Fbugzilla.git Bug 319220: checksetup.pl can't cope with a standard CVS install or update. Patch by Marc Schumann , r=LpSolit, a=justdave --- diff --git a/checksetup.pl b/checksetup.pl index 614d1d7aa7..7f207faf40 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);