Koha/debian/templates
Robin Sheat ee4e4917eb Bug 10942: (follow-up) debconfing the update option
This causes a question to be asked at installation time as to whether
translations should be updated or not. The answer is written to the
config file, and stored in debconf. Effort is taken to ensure that if
the admin changes the config file, the update will be picked up and
reflected in debconf (i.e. that the admin's decision is always the
correct one.)

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Fixed two typos that made it fail and it worked like a charm.

Tested like this:

- Install the package
=> no errors, the file is created, defaults to 'yes'
- Install a language (koha-translate --install es-ES)
- Re-install the package (simulating an upgrade)
=> es-ES gets updated
- Set preference to 'no'
- Re-install
=> es-ES doesn't get updated, the warning is printed correctly
- Installed a second language (koha-translate --install pt-BR)
- did all the tests again
=> Success

Note: on master there are obvious template translation warnings.
A copy of the generated package can be grabbed from:
http://es.koha-community.org/koha-common_3.15+20140312172225.af7c0a23_all.deb

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-24 12:49:32 +00:00
..
apache-shared-disable.conf
apache-shared-intranet.conf
apache-shared-opac.conf
apache-shared.conf Bug 10411: add cache control headers for static resources (Debian package) 2013-07-18 13:50:56 +00:00
apache-site.conf.in Bug 10733: Memcached on package installs 2013-10-30 03:27:51 +00:00
koha-common.conf Bug 10942: (follow-up) debconfing the update option 2014-04-24 12:49:32 +00:00
koha-conf-site.xml.in Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
koha-sites.conf Bug 7234: koha-common Debian package now includes koha-sites.conf 2014-03-03 15:56:52 +00:00
marc21-retrieval-info-auth-dom.xml
marc21-retrieval-info-auth-grs1.xml
marc21-retrieval-info-bib-dom.xml
marc21-retrieval-info-bib-grs1.xml
normarc-retrieval-info-auth-dom.xml
normarc-retrieval-info-auth-grs1.xml
normarc-retrieval-info-bib-dom.xml
normarc-retrieval-info-bib-grs1.xml
SIPconfig.xml
unimarc-retrieval-info-auth-dom.xml
unimarc-retrieval-info-auth-grs1.xml
unimarc-retrieval-info-bib-dom.xml
unimarc-retrieval-info-bib-grs1.xml
zebra-authorities-dom-site.cfg.in
zebra-authorities-site.cfg.in
zebra-biblios-dom-site.cfg.in Bug 8507: koha-create now supports using DOM indexing for bibs 2013-08-13 14:25:53 +00:00
zebra-biblios-site.cfg.in
zebra.passwd.in