clone failure warning

This commit is contained in:
Bob Mottram 2016-01-08 21:28:27 +00:00
parent f7a25184dc
commit 39e3dfe466
1 changed files with 4 additions and 0 deletions

View File

@ -8131,6 +8131,10 @@ function install_gnu_social {
fi
if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME/htdocs ]; then
git clone $MICROBLOG_REPO /var/www/$MICROBLOG_DOMAIN_NAME/htdocs
if [ ! -d /var/www/$MICROBLOG_DOMAIN_NAME/htdocs ]; then
echo $'Unable to clone gnusocial repo'
exit 87525
fi
fi
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs