From 814d88326a88a356f554cbd4e5f7aac0509ec895 Mon Sep 17 00:00:00 2001 From: Jonas Date: Fri, 15 Nov 2013 18:04:26 +0100 Subject: Fix create web-related subdirs only for web accounts (not all auxilliary ones). --- adduser.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adduser.local b/adduser.local index 1c35450..340592e 100755 --- a/adduser.local +++ b/adduser.local @@ -173,7 +173,7 @@ if [ -z "$profile_aux" ] && [ -z "$profile_web" ] && [ -n "$VERBOSE" ] && [ "$VE esac fi -if [ -n "$profile_aux" ] && [ -d /var/www ]; then +if [ -n "$profile_web" ] && [ -d /var/www ]; then webroot="$NEWHOMEDIR/public_websites" cgiroot="$NEWHOMEDIR/public_cgi" dataroot="$NEWHOMEDIR/private_webdata" -- cgit v1.2.3