From d2f78faa67b5c7e76ea69c65691b8150ddc1679c Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 3 Jun 2013 11:28:15 +0300 Subject: [PATCH] enable symlinks in user home --- upd/convert-templates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upd/convert-templates.sh b/upd/convert-templates.sh index 32245bd5..f07559de 100755 --- a/upd/convert-templates.sh +++ b/upd/convert-templates.sh @@ -121,7 +121,7 @@ if [ -e "$TPL/nginx" ]; then for tpl in $(ls $TPL/nginx |grep -v proxy_ip.tpl); do check_symlink=$(grep disable_symlinks $TPL/nginx/$tpl) if [ -z "$check_symlink" ]; then - insert='disable_symlinks if_not_owner from=%docroot%;' + insert='disable_symlinks if_not_owner from=%home%\/%user%;' sed -i "s/include %/$insert\n\n include %/" $TPL/nginx/$tpl triggered='yes' fi