[open-ils-commits] [GIT] Evergreen ILS branch master updated. d1c113ccf99adff705a6da4ba9e776fbeacaef92

Evergreen Git git at git.evergreen-ils.org
Mon Nov 7 16:43:34 EST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  d1c113ccf99adff705a6da4ba9e776fbeacaef92 (commit)
      from  25c9c433d44ab7261628d435efa80c764a714d99 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1c113ccf99adff705a6da4ba9e776fbeacaef92
Author: Dan Scott <dscott at laurentian.ca>
Date:   Mon Nov 7 16:38:32 2011 -0500

    Backup the existing opensrf config files before copying
    
    Per a suggestion from Wolf Halton <wolf.halton at gmail.com>, create backup
    versions of the opensrf configuration files when we're copying the
    Evergreen example versions over, so that we can retrieve the Jabber user
    names and passwords and domains from the backups (if necessary).
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/README b/README
index b6dbe70..d42c97a 100644
--- a/README
+++ b/README
@@ -277,8 +277,8 @@ following commands as the *opensrf* Linux account:
 
 [source, bash]
 ------------------------------------------------------------------------------
-cp /openils/conf/opensrf_core.xml.example /openils/conf/opensrf_core.xml
-cp /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml
+cp -b /openils/conf/opensrf_core.xml.example /openils/conf/opensrf_core.xml
+cp -b /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml
 ------------------------------------------------------------------------------
 
 When you installed OpenSRF, you created four Jabber users on two
@@ -287,6 +287,12 @@ refer back to the OpenSRF README and, as the *opensrf* Linux account, edit the
 Evergreen version of the `opensrf_core.xml` file using the same Jabber users
 and domains as you used while installing and testing OpenSRF.
 
+[NOTE]
+The `-b` flag tells the `cp` command to create a backup version of the
+destination file. The backup version of the destination file has a tilde (`~`)
+appended to the file name, so if you have forgotten the Jabber users and
+domains, you can retrieve the settings from the backup version of the files.
+
 `eg_db_config.pl`, described in the following section, sets the database
 connection information in `opensrf.xml` for you.
 

-----------------------------------------------------------------------

Summary of changes:
 README |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list