[Koha-patches] [PATCH] Disable a new site created with --request-db.
Lars Wirzenius
lars at catalyst.net.nz
Thu Jun 3 05:45:45 CEST 2010
This way, the various cron jobs will not try to do things to it.
They can't, since it is not yet really created.
---
debian/scripts/koha-create | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create
index 33edb94..60262d4 100755
--- a/debian/scripts/koha-create
+++ b/debian/scripts/koha-create
@@ -227,3 +227,9 @@ then
# Start Zebra.
koha-start-zebra "$name"
fi
+
+
+if [ "$op" = request ]
+then
+ koha-disable "$name"
+fi
--
1.7.1
More information about the Koha-patches
mailing list