summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2013-11-15 18:04:26 +0100
committerJonas <dr@jones.dk>2013-11-15 18:04:26 +0100
commit814d88326a88a356f554cbd4e5f7aac0509ec895 (patch)
tree7680cb352e4b71c72b452e8f36a1b41d2e257cfb
parent8ea666e52c3c267369e02366d341769687830df8 (diff)
Fix create web-related subdirs only for web accounts (not all auxilliary ones).
-rwxr-xr-xadduser.local2
1 files changed, 1 insertions, 1 deletions
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"