diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index afe1f55edc..5e60f7cd77 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -506,7 +506,13 @@ NO_DB die; fi -set_memcached $name +if [ "$USE_MEMCACHED" = "no" ]; then + MEMCACHED_SERVERS="" + MEMCACHED_NAMESPACE="" + MEMCACHED_PREFIX="" +else + set_memcached $name +fi # Set template cache dir if [ "$CLO_TEMPLATE_CACHE_DIR" != "" ]; then