Bug 10942: (follow-up) create a /etc/koha/koha-common.conf
authorGalen Charlton <gmc@esilibrary.com>
Wed, 12 Mar 2014 02:02:47 +0000 (02:02 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 24 Apr 2014 12:48:36 +0000 (12:48 +0000)
commit83093abe89c7074afa3ff5c72e8ec881a58151f6
tree4c3479636933ce9e4adc18f1b1da80a7c1e129c7
parent33cc81bbc37046d9a38ff3d4b64f546e5e8f77b8
Bug 10942: (follow-up) create a /etc/koha/koha-common.conf

This patch creates a new master configuration file for the
koha-common package, and moves the AUTOMATIC_TRANSLATIONS_UPDATE
variable rather than leaving in in /etc/default/koha, which is meant
to be used for init script settings.

The configuration format is simple - a shell script that
sets variables and which can sourced by another script or
trivially parsed.

To test:

- Apply the patch series for bug 10942 and build a package.
- Install the package.
- Verify that a new config file, /etc/koha/koha-common.conf.
- Follow the rest of the test plan for the main page (e.g.,
  set AUTOMATIC_TRANSLATIONS_UPDATE and force a package upgrade).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
debian/koha-common.default
debian/koha-common.postinst
debian/templates/koha-common.conf [new file with mode: 0644]