From 446e05239e2a50b92a2f8ef30a51efc9763866cb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 19 Sep 2017 20:41:41 +0100 Subject: [PATCH] Check that qvitter repo was installed --- src/freedombone-utils-gnusocialtools | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/freedombone-utils-gnusocialtools b/src/freedombone-utils-gnusocialtools index ede2d653..a7db416f 100755 --- a/src/freedombone-utils-gnusocialtools +++ b/src/freedombone-utils-gnusocialtools @@ -260,6 +260,11 @@ function install_qvitter { git_clone $QVITTER_THEME_REPO Qvitter 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 git checkout $QVITTER_THEME_COMMIT -b $QVITTER_THEME_COMMIT