Bug 6540 - Add defaultsql command line option
authorMagnus Enger <magnus@enger.priv.no>
Wed, 20 Jul 2011 14:08:51 +0000 (16:08 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 28 Jul 2011 02:18:00 +0000 (14:18 +1200)
This will override the setting in /etc/koha/koha-sites.conf.

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
debian/scripts/koha-create

index 08f4baf..85b208b 100755 (executable)
@@ -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