Koha/debian/templates
Tomas Cohen Arazi 4a714313fe Bug 14674: koha-create should populate upload_path
This patch makes koha-create and koha-create-dirs aware of the new upload_path
configuration entry.

It defaults to /var/lib/koha/<instance>/uploads as proposed by Robin but lets the
user specify its own directory, using the --upload-path option switch that is
added by this patch.

koha-create-dirs is tweaked so it also creates this new directory.

The docs are updated accordingly.

To test:
- Apply the patch, have a packages setup (either by grabbing the relevant files [1]
  or by creating your own package).
- Run koha-create --create-db instance
=> SUCCESS: /var/lib/koha/instance/uploads directory is created
=> SUCCESS: /etc/koha/sites/instance/koha-config.xml has upload_path set correctly
- Create a new instance using the --upload-path making it point to whatever you want
=> SUCCESS: koha-conf.xml points to your chosen path
- Sign off :-D

Regards

Sponsored-by: Universidad Nacional de Cordoba

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Does not work in its current state. Needs a follow-up.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-10-23 10:09:32 -03:00
..
apache-shared-disable.conf
apache-shared-intranet-plack.conf Bug 13791: (QA followup) Plack support requires Apache 2.4.8+ 2015-08-24 13:06:39 -03:00
apache-shared-intranet.conf
apache-shared-opac-plack.conf Bug 13791: (QA followup) Plack support requires Apache 2.4.8+ 2015-08-24 13:06:39 -03:00
apache-shared-opac.conf
apache-shared.conf Bug 12350 - disable apache indexes 2014-06-23 15:14:42 -03:00
apache-site.conf.in Bug 13791: Apache configuration files 2015-08-24 13:00:40 -03: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 14674: koha-create should populate upload_path 2015-10-23 10:09:32 -03:00
koha-sites.conf Bug 14383: debian: Fix some trivial typos 2015-06-22 17:34:44 -03:00
log4perl-site.conf.in Bug 14167: (QA followup) Add template and changes needed for packages 2015-07-21 10:18:11 -03: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 11232: Add new syntax for facets definition on koha-indexdefs-to-zebra.xsl 2014-10-15 12:55:33 -03: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 11232: Add new syntax for facets definition on koha-indexdefs-to-zebra.xsl 2014-10-15 12:55:33 -03:00
normarc-retrieval-info-bib-grs1.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
plack.psgi Bug 13791: (QA followup) fix perlcritic warning 2015-08-28 10:21:44 -03: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 11232: Add new syntax for facets definition on koha-indexdefs-to-zebra.xsl 2014-10-15 12:55:33 -03: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 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra-authorities-site.cfg.in Bug 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra-biblios-dom-site.cfg.in Bug 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra-biblios-site.cfg.in Bug 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra.passwd.in Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00