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 Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-shared-intranet.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
apache-shared-opac.conf Split off koha-common. 2010-05-25 07:58:56 -04:00
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 Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-bib-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-bib-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
normarc-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
SIPconfig.xml Bug 7238 - make packages deal with SIP config 2012-02-15 17:23:08 +01:00
unimarc-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-auth-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-bib-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
zebra-authorities-dom-site.cfg.in Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create 2011-07-28 14:17:10 +12:00
zebra-authorities-site.cfg.in Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create 2011-07-28 14:17:10 +12:00
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 Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create 2011-07-28 14:17:10 +12:00
zebra.passwd.in Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00