From f91b674114f7190aee977b179ea73f2f2a2fc440 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 13 Sep 2013 10:14:30 -0300 Subject: [PATCH] Bug 10733: Follow up - unset variables from koha-sites.conf if USE_MEMCACHED=no As configuration variables from koha-sites.conf overwrite the ones in the koha-create script we need to unset them in case we have USE_MEMCACHED="no". Regards To+ Sponsored-by: Universidad Nacional de Cordoba --- debian/scripts/koha-create | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index 491a218..7464085 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -342,7 +342,11 @@ Please set USE_MEMCACHED="yes" on /etc/koha/koha-sites.conf or use the EOF` echo $usage - die $MSG + die $MSG +else + # Unset memcached-related variables + MEMCACHED_SERVERS="" + MEMCACHED_PREFIX="" fi opacdomain="$OPACPREFIX$name$OPACSUFFIX$DOMAIN" -- 1.7.9.5