Disable a new site created with --request-db.
authorLars Wirzenius <lars@catalyst.net.nz>
Thu, 3 Jun 2010 03:45:45 +0000 (15:45 +1200)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 3 Jun 2010 11:51:36 +0000 (07:51 -0400)
This way, the various cron jobs will not try to do things to it.
They can't, since it is not yet really created.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
debian/scripts/koha-create

index 33edb94..60262d4 100755 (executable)
@@ -227,3 +227,9 @@ then
     # Start Zebra.
     koha-start-zebra "$name"
 fi
+
+
+if [ "$op" = request ]
+then
+    koha-disable "$name"
+fi