From eae80a2ac6d04fc7070a14e0e97407d13854d3c8 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 Signed-off-by: Mark Tompsett Signed-off-by: Robin Sheat --- debian/scripts/koha-create | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index e09b5ba..7f05eb0 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -343,6 +343,10 @@ EOF` echo $usage die $MSG +else + # Unset memcached-related variables + MEMCACHED_SERVERS="" + MEMCACHED_PREFIX="" fi opacdomain="$OPACPREFIX$name$OPACSUFFIX$DOMAIN" -- 1.8.1.2