[Koha-patches] [PATCH 3/5] Bug 6540 - Add defaultsql command line option

Robin Sheat robin at catalyst.net.nz
Thu Jul 21 07:40:47 CEST 2011


From: Magnus Enger <magnus at enger.priv.no>

This will override the setting in /etc/koha/koha-sites.conf.

Signed-off-by: Robin Sheat <robin at catalyst.net.nz>
---
 debian/scripts/koha-create |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create
index 08f4baf..85b208b 100755
--- a/debian/scripts/koha-create
+++ b/debian/scripts/koha-create
@@ -89,6 +89,7 @@ while true ; do
 		-p|--populate-db) op=populate ; shift ;;
 		-m|--marcflavor) ZEBRA_MARC_FORMAT="$2" ; shift 2 ;;
 		-l|--zebralang) ZEBRA_LANGUAGE="$2" ; shift 2 ;;
+		-d|--defaultsql) DEFAULTSQL="$2" ; shift 2 ;;
 		--) shift ; break ;;
 		*) die "Internal error! " ;;
 	esac
-- 
1.7.4.1



More information about the Koha-patches mailing list