]> git.koha-community.org Git - koha.git/commit
Bug 11404: koha-functions.sh introduced for reuse
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 5 May 2014 14:50:55 +0000 (11:50 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 19 May 2014 21:49:06 +0000 (21:49 +0000)
commit92c765307198b0624dcb80b342beedef412cccf7
tree2fea6504458ddc53680d299a905921a4670b8f55
parent7ec644da06382eb0018a3fad88ef61b35a05e2aa
Bug 11404: koha-functions.sh introduced for reuse

As asked by Robin, a bash lib of functions is introduced with the common
functions to be reused. Most of the scripts are modified (reduced) to
include this file and the repeated functions cleaned.

No noticeable change in behaviour should be noticed.

As I've been todl in #debian-mentors, it is used that files for inclusion
should be installed at the apps directory (i.e. /usr/share/koha/) so this
patch makes the install script put the file in the bin/ directory.

All koha-* scripts assume the file is there already (and fail otherwise).

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
18 files changed:
debian/scripts/koha-create
debian/scripts/koha-disable
debian/scripts/koha-dump
debian/scripts/koha-email-disable
debian/scripts/koha-email-enable
debian/scripts/koha-enable
debian/scripts/koha-functions.sh [new file with mode: 0755]
debian/scripts/koha-list
debian/scripts/koha-mysql
debian/scripts/koha-mysqlcheck
debian/scripts/koha-rebuild-zebra
debian/scripts/koha-remove
debian/scripts/koha-reset-passwd
debian/scripts/koha-restart-zebra
debian/scripts/koha-restore
debian/scripts/koha-start-zebra
debian/scripts/koha-stop-zebra
debian/scripts/koha-translate