Installation Instructions

Gerard Samuel <[email protected]> Sat, 13 Nov 2004 14:15:57 -0500
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>
I've been installing/using Chora for a while now, and for some reason,
the instructions to copy the config files
for f in *.dist; do cp $f `basename $f .dist`; done
doesn't work on my system, and I usually end up copying them by hand.
I would like to recommend these patches for the documentation,
to include instructions of using php's cli to complete the task.
These are modified versions of the INSTALL files that came
with the downloadable versions of Chora 2/Horde 3 (of which their minimum
php versions should be supporting php's cli).
Thanks for listening...

hivemind# diff -u horde/docs/INSTALL.orig horde/docs/INSTALL
--- horde/docs/INSTALL.orig     Tue Nov  2 07:50:44 2004
+++ horde/docs/INSTALL  Fri Nov 12 18:28:57 2004
@@ -424,6 +424,8 @@

       cd config/
       for f in *.dist; do cp $f `basename $f .dist`; done
+      OR
+      php -r '$f = glob("./*.dist"); foreach($f as $v) copy($v, 
str_replace(".dist", "", $v));'

    Or if you are installing Horde an a Windows system::


hivemind# diff -u horde/chora/docs/INSTALL.orig horde/chora/docs/INSTALL
--- horde/chora/docs/INSTALL.orig       Fri Nov 12 18:36:39 2004
+++ horde/chora/docs/INSTALL    Fri Nov 12 18:38:35 2004
@@ -27,6 +27,8 @@

       cd config/
       for foo in *.dist; do cp $foo `basename $foo .dist`; done
+      OR
+      php -r '$f = glob("./*.dist"); foreach($f as $v) copy($v, 
str_replace(".dist", "", $v));'

 - Edit each of these configuration files, following the comments beside 
each
   value.
-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]