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 cd "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs" || exit 46824682682
git pull git pull
else else
function_check git_clone # This is deliberately non-recursive
git_clone "$POSTACTIV_REPO" "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs" git clone "$POSTACTIV_REPO" "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs"
fi fi
if [ ! -d "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs" ]; then if [ ! -d "/var/www/$POSTACTIV_DOMAIN_NAME/htdocs" ]; then