]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 319220: checksetup.pl can't cope with a standard CVS install or update.
authorwurblzap%gmail.com <>
Mon, 12 Dec 2005 16:03:35 +0000 (16:03 +0000)
committerwurblzap%gmail.com <>
Mon, 12 Dec 2005 16:03:35 +0000 (16:03 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>,
r=LpSolit, a=justdave

checksetup.pl

index 98acb8f604663700f9072aee0c124e88a105b30d..bf93a65894be088eeefa9d8b77d232ee210672ff 100755 (executable)
@@ -1239,6 +1239,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);