소스 검색

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,6 +181,11 @@ function install_pleroma {
181 181
         echo 'Unable to build pleroma'
182 182
         exit 7629352
183 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 189
     mv ~/build/pleroma/dist/index.html ~/build/pleroma/dist/pleroma.html
185 190
     cp -r ~/build/pleroma/dist/* /var/www/$pleroma_domain/htdocs/
186 191