midcom-template.xml patch (for DarwinPorts)
Jyrki Wahlstedt <[email protected]> Sun, 26 Feb 2006 20:34:26 +0200
| Newsgroups | gmane.comp.web.midgard.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
in submitting Midgard to DarwinPorts (not yet, I am yet going to
reinstall the whole package and check e.g. the directory permissions)
I'm going to path midcom-template.xml with the following:
====================
--- midcom-template.xml~ 2006-02-21 14:45:55.000000000 +0200
+++ midcom-template.xml 2006-02-26 20:02:57.000000000 +0200
@@ -2599,7 +2599,7 @@
}
elseif ($_MIDGARD['config']['prefix'] == "/usr/local")
{
- $GLOBALS["midcom_site"]["midgard_var_dir"] = "/var";
+ $GLOBALS["midcom_site"]["midgard_var_dir"] = "/var/local";
}
else
{
====================
I wonder, whether this should be done elsewhere, too, as it is at
least redundant to check the prefixes '/usr' and '/usr/local' and set
the cache dir for both to '/var'?
!
! Jyrki Wahlstedt
! Männikkötie 5 D 19 mob. +358-40-502 0164
skype:jyrkiwahlstedt
! FI-00630 Helsinki
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780
6366 EFD9 139C C386