瀏覽代碼

Check that qvitter repo was installed

Bob Mottram 7 年之前
父節點
當前提交
446e05239e
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      src/freedombone-utils-gnusocialtools

+ 5
- 0
src/freedombone-utils-gnusocialtools 查看文件

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