non-recursive clone

This commit is contained in:
Bob Mottram 2018-03-06 16:51:28 +00:00
parent 87b0a3b052
commit 7d8af8ed34
1 changed files with 2 additions and 2 deletions

View File

@ -665,8 +665,8 @@ function install_postactiv_main {
cd "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs" || exit 46824682682
git pull
else
function_check git_clone
git_clone "$POSTACTIV_REPO" "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs"
# This is deliberately non-recursive
git clone "$POSTACTIV_REPO" "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs"
fi
if [ ! -d "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs" ]; then