Selaa lähdekoodia

Check that blog gets created

Bob Mottram 8 vuotta sitten
vanhempi
commit
427fba73e4
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4
    0
      src/freedombone-app-pelican

+ 4
- 0
src/freedombone-app-pelican Näytä tiedosto

@@ -800,6 +800,10 @@ function install_pelican {
800 800
     install_pelican_website_onion
801 801
 
802 802
     pelican_regenerate_blog
803
+    if [ ! -d $PELICAN_BLOG_INSTALL_DIR/output ]; then
804
+        echo $'Failed to generate pelican blog'
805
+        exit 521892
806
+    fi
803 807
 
804 808
     function_check nginx_ensite
805 809
     nginx_ensite $PELICAN_DOMAIN_NAME