diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index 90724379ef..656a02acff 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -615,7 +615,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