Le 20/09/2013 18:44, Galen Charlton a écrit :
Hi,
On Fri, Sep 20, 2013 at 9:30 AM, Mathieu Saby <mathieu.saby@univ-rennes2.fr <mailto:mathieu.saby@univ-rennes2.fr>> wrote:
I was wondering if a script launched by updatedatabase.pl <http://updatedatabase.pl> will always have rights to access to directory where the /etc/zebra/... will be stored? Excuse me if it is a stupid question... Is it stored in the environment variable $KOHA_CONF_DIR ?
Generally, the only stupid questions are the ones not asked.
I think most of the time, updatedatabase.pl <http://updatedatabase.pl> would be able to get at the appropriate Zebra configuration files, although I could envision split-server configurations where that might not be the case. On reflection, though, reliably parsing them to figure out the suppression subfield is not a non-trivial task, since in the general case you'd have to consider both GRS-1 and DOM. "Not trivial" was the phrase I was looking for ;-)
Consequently, it is probably best if the feature doesn't immediately /require/ that biblio.opacsuppressed (or whatever the column gets called) be populated right off the bat. Ok for that
Mathieu
Regards,
Galen -- Galen Charlton Manager of Implementation Equinox Software, Inc. / The Open Source Experts email: gmc@esilibrary.com <mailto:gmc@esilibrary.com> direct: +1 770-709-5581 cell: +1 404-984-4366 skype: gmcharlt web: http://www.esilibrary.com/ Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org
-- Mathieu Saby Service d'Informatique Documentaire Service Commun de Documentation Université Rennes 2 Téléphone : 02 99 14 12 65 Courriel : mathieu.saby@univ-rennes2.fr