浏览代码

Check for index file

Bob Mottram 8 年前
父节点
当前提交
45f74e2fbc
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      src/freedombone-utils-gnusocialtools

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

181
         echo 'Unable to build pleroma'
181
         echo 'Unable to build pleroma'
182
         exit 7629352
182
         exit 7629352
183
     fi
183
     fi
184
+    if [ ! -f ~/build/pleroma/dist/index.html ]; then
185
+        echo $'Unable to build pleroma index.html'
186
+        exit 5282682
187
+    fi
188
+
184
     mv ~/build/pleroma/dist/index.html ~/build/pleroma/dist/pleroma.html
189
     mv ~/build/pleroma/dist/index.html ~/build/pleroma/dist/pleroma.html
185
     cp -r ~/build/pleroma/dist/* /var/www/$pleroma_domain/htdocs/
190
     cp -r ~/build/pleroma/dist/* /var/www/$pleroma_domain/htdocs/
186
 
191