From 01c0e4989ca6c089933d6dfe9ffd351626f9016f Mon Sep 17 00:00:00 2001 From: Pongtawat C Date: Sun, 9 Jul 2017 23:34:17 +0700 Subject: [PATCH] Bug 18913 - Allows symbolic link in /etc/koha/sites Signed-off-by: Mark Tompsett --- debian/scripts/koha-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/scripts/koha-functions.sh b/debian/scripts/koha-functions.sh index 256ae2b..6e189b6 100755 --- a/debian/scripts/koha-functions.sh +++ b/debian/scripts/koha-functions.sh @@ -104,7 +104,7 @@ is_instance() { local instancename=$1 - if find /etc/koha/sites -mindepth 1 -maxdepth 1 \ + if find -L /etc/koha/sites -mindepth 1 -maxdepth 1 \ -type d -printf '%f\n'\ | grep -q -x "$instancename" ; then return 0 @@ -239,7 +239,7 @@ adjust_paths_dev_install() get_instances() { - find /etc/koha/sites -mindepth 1 -maxdepth 1\ + find -L /etc/koha/sites -mindepth 1 -maxdepth 1\ -type d -printf '%f\n' | sort } -- 2.1.4