mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
rebuild error document if it does not exist
This commit is contained in:
parent
d21cea188e
commit
13847a198f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue