[Koha-bugs] [Bug 10735] koha-dump not working
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 19 03:29:22 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10735
--- Comment #5 from Robin Sheat <robin at catalyst.net.nz> ---
Created attachment 23010
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23010&action=edit
Bug 10735 - prevent script aborting if backupdir undefined
Older versions of Koha didn't have <backupdir>...</backupdir> defined in
koha-conf.xml. The koha-dump script is aware of this, and checks to see
if it's there. However, if it's not, xmlstarlet returns a non-0 error
code which causes the script to abort due to running under set -e.
Test plan:
* Remove backupdir from koha-conf.xml
* Run koha-dump, notice that it doesn't do backups
* Apply patch
* Run koha-dump again, notice that it does do backups
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list