From 13847a198fc18138bd201673745d02bcab541c69 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 20 Feb 2013 15:04:53 +0200 Subject: [PATCH] rebuild error document if it does not exist --- bin/v-rebuild-web-domains | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-rebuild-web-domains b/bin/v-rebuild-web-domains index a091e3d07..1b625ca45 100755 --- a/bin/v-rebuild-web-domains +++ b/bin/v-rebuild-web-domains @@ -66,7 +66,7 @@ for domain in $(shell_list) ; do ln -f -s /var/log/httpd/domains/$domain.error.log \ $HOMEDIR/$user/web/$domain/logs/$domain.error.log - if [ -e "$WEBTPL/skel/document_errors/" ]; then + if [ ! -e "$WEBTPL/skel/document_errors/" ]; then cp -r $WEBTPL/skel/document_errors/ $HOMEDIR/$user/web/$domain/ fi