Browse Source

Check that blog gets created

Bob Mottram 8 years ago
parent
commit
427fba73e4
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-app-pelican

+ 4
- 0
src/freedombone-app-pelican View File

800
     install_pelican_website_onion
800
     install_pelican_website_onion
801
 
801
 
802
     pelican_regenerate_blog
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
     function_check nginx_ensite
808
     function_check nginx_ensite
805
     nginx_ensite $PELICAN_DOMAIN_NAME
809
     nginx_ensite $PELICAN_DOMAIN_NAME