@@ -, +, @@ first --- debian/scripts/koha-functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/debian/scripts/koha-functions.sh +++ a/debian/scripts/koha-functions.sh @@ -190,7 +190,9 @@ is_plack_enabled() local site=$1 local instancefile=$(get_apache_config_for $site) - if [ "$instancefile" = "" ]; then + if [ -e /var/lib/koha/$site/plack.enabled ]; then + return 0 + elif [ "$instancefile" = "" ]; then return 1 fi @@ -199,8 +201,6 @@ is_plack_enabled() grep -q '^[[:space:]]*Include /etc/koha/apache-shared-intranet-plack.conf' \ "$instancefile" ; then return 0 - elif [ -e /var/lib/koha/$instancename/plack.enabled ]; then - return 0 else return 1 fi --