[Pkg-bugzilla-commits] r106 - trunk/bugzilla-2.18/debian/patches
Alexis Sukrieh
sukria-guest@costa.debian.org
Sun, 12 Jun 2005 13:01:10 +0000
Author: sukria-guest
Date: 2005-06-12 13:01:10 +0000 (Sun, 12 Jun 2005)
New Revision: 106
Modified:
trunk/bugzilla-2.18/debian/patches/07_virtualhosting.dpatch
Log:
better path for the template
Modified: trunk/bugzilla-2.18/debian/patches/07_virtualhosting.dpatch
===================================================================
--- trunk/bugzilla-2.18/debian/patches/07_virtualhosting.dpatch 2005-06-12 12:54:46 UTC (rev 105)
+++ trunk/bugzilla-2.18/debian/patches/07_virtualhosting.dpatch 2005-06-12 13:01:10 UTC (rev 106)
@@ -5,9 +5,9 @@
## DP: support for multi-site installs (/etc/bugzilla-$X_BUGZILLA_SITE, web/data-$X_BUGZILLA_SITE)
@DPATCH@
-diff -urNad bugzilla-2.18/Bugzilla/Config.pm /tmp/dpep.QgJk0Q/bugzilla-2.18/Bugzilla/Config.pm
---- bugzilla-2.18/Bugzilla/Config.pm 2005-06-12 14:49:03.000000000 +0200
-+++ /tmp/dpep.QgJk0Q/bugzilla-2.18/Bugzilla/Config.pm 2005-06-12 14:50:08.000000000 +0200
+diff -urNad bugzilla-2.18/Bugzilla/Config.pm /tmp/dpep.EHVXdo/bugzilla-2.18/Bugzilla/Config.pm
+--- bugzilla-2.18/Bugzilla/Config.pm 2005-06-12 14:57:02.000000000 +0200
++++ /tmp/dpep.EHVXdo/bugzilla-2.18/Bugzilla/Config.pm 2005-06-12 14:57:53.000000000 +0200
@@ -51,12 +51,27 @@
# graphs (since the path will be wrong in the HTML). This will be fixed at
# some point.
@@ -33,7 +33,7 @@
-our $templatedir = "$libpath/template";
+our $localconfig = "/etc/bugzilla${xsite}/localconfig";
+our $datadir = "/var/lib/bugzilla/data${xsite}";
-+our $templatedir = (-d "$datadir/template") ? "$datadir/template" : "/var/lib/bugzilla/template";
++our $templatedir = (-d "$libpath/template${xsite}") ? "$libpath/template${xsite}" : "$libpath/template";
our $webdotdir = "$datadir/webdot";
-our $params_file = "/etc/bugzilla/params";
+our $params_file = "/etc/bugzilla${xsite}/params";