]> git.pld-linux.org Git - packages/bugzilla.git/commitdiff
- fix paths
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 21 Jun 2007 20:58:07 +0000 (20:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bugzilla-pld.patch -> 1.7

bugzilla-pld.patch

index f274a327c3aa28265321b6038fe4dceac3a4a52c..d5c4d71db6366165c3fa5c8cf96d6b90216d878a 100644 (file)
      open(RDF, ">$datadir/duplicates.tmp")
          || die "can't write to $datadir/duplicates.tmp: $!";
      my $headers_done = 0;
+--- bugzilla-3.0/Bugzilla/Constants.pm~        2007-05-10 01:47:17.000000000 +0300
++++ bugzilla-3.0/Bugzilla/Constants.pm 2007-06-21 23:57:48.044744852 +0300
+@@ -407,10 +407,10 @@
+     my ($project, $localconfig, $datadir);
+     if ($ENV{'PROJECT'} && $ENV{'PROJECT'} =~ /^(\w+)$/) {
+         $project = $1;
+-        $localconfig = "localconfig.$project";
++        $localconfig = "localconfig.$project.pl";
+         $datadir = "data/$project";
+     } else {
+-        $localconfig = "localconfig";
++        $localconfig = "localconfig.pl";
+         $datadir = "data";
+     }
+@@ -420,13 +420,13 @@
+         'libpath'     => $libpath,
+         # If you put the libraries in a different location than the CGIs,
+         # make sure this still points to the CGIs.
+-        'cgi_path'    => $libpath,
+-        'templatedir' => "$libpath/template",
++        'cgi_path'    => '/usr/share/bugzilla/htdocs',
++        'templatedir' => "/usr/share/bugzilla/template",
+         'project'     => $project,
+-        'localconfig' => "$libpath/$localconfig",
+-        'datadir'     => "$libpath/$datadir",
+-        'attachdir'   => "$libpath/$datadir/attachments",
+-        'skinsdir'    => "$libpath/skins/contrib",
++        'localconfig' => "/etc/webapps/bugzilla/$localconfig",
++        'datadir'     => "/var/lib/bugzilla/$datadir",
++        'attachdir'   => "/var/lib/bugzilla/$datadir/attachments",
++        'skinsdir'    => "/usr/share/bugzilla/htdocs/skins/contrib",
+         # $webdotdir must be in the webtree somewhere. Even if you use a 
+         # local dot, we output images to there. Also, if $webdotdir is 
+         # not relative to the bugzilla root directory, you'll need to 
This page took 0.340605 seconds and 4 git commands to generate.