Sfoglia il codice sorgente

Check for index file

Bob Mottram 8 anni fa
parent
commit
45f74e2fbc
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      src/freedombone-utils-gnusocialtools

+ 5
- 0
src/freedombone-utils-gnusocialtools Vedi File

@@ -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