From fb1748ee8ba8003742e497e059c187b64bde7fa2 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". Sponsored-by: Universidad Nacional de Cordoba Signed-off-by: Mark Tompsett Signed-off-by: Robin Sheat Signed-off-by: Galen Charlton --- debian/scripts/koha-create | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index e09b5ba14e..7f05eb0f77 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" -- 2.39.2