Check that qvitter repo was installed

This commit is contained in:
Bob Mottram 2017-09-19 20:41:41 +01:00
parent 919e4b49e6
commit 446e05239e
1 changed files with 5 additions and 0 deletions

View File

@ -260,6 +260,11 @@ function install_qvitter {
git_clone $QVITTER_THEME_REPO Qvitter git_clone $QVITTER_THEME_REPO Qvitter
fi fi
if [ ! -d /var/www/${domain_name}/htdocs/local/plugins/Qvitter ]; then
echo $'Qvitter repo was not installed'
exit 835638
fi
cd /var/www/${domain_name}/htdocs/local/plugins/Qvitter cd /var/www/${domain_name}/htdocs/local/plugins/Qvitter
git checkout $QVITTER_THEME_COMMIT -b $QVITTER_THEME_COMMIT git checkout $QVITTER_THEME_COMMIT -b $QVITTER_THEME_COMMIT