From 3d1d044d81d29d575e51002dd8b76dfd4fed7103 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Sun, 16 Oct 2016 12:51:04 +0100
Subject: [PATCH] Rename blogstatic to pelican

---
 ...app-blogstatic => freedombone-app-pelican} | 34 +++++++++----------
 src/freedombone-image-customise               |  2 +-
 2 files changed, 18 insertions(+), 18 deletions(-)
 rename src/{freedombone-app-blogstatic => freedombone-app-pelican} (95%)

diff --git a/src/freedombone-app-blogstatic b/src/freedombone-app-pelican
similarity index 95%
rename from src/freedombone-app-blogstatic
rename to src/freedombone-app-pelican
index 448fcde32..d39ee3026 100755
--- a/src/freedombone-app-blogstatic
+++ b/src/freedombone-app-pelican
@@ -35,47 +35,47 @@ PELICAN_THEMES_REPO="https://github.com/getpelican/pelican-themes"
 PELICAN_PLUGINS_REPO="https://github.com/getpelican/pelican-plugins"
 DEFAULT_BLOG_TITLE=$"Freedombone Blog"
 
-blogstatic_variables=(MY_USERNAME
+pelican_variables=(MY_USERNAME
                       STATIC_BLOG_DOMAIN)
 
-function configure_interactive_blogstatic {
+function configure_interactive_pelican {
     echo -n ''
 }
 
-function install_interactive_blogstatic {
+function install_interactive_pelican {
     echo -n ''
     APP_INSTALLED=1
 }
 
-function change_password_blogstatic {
+function change_password_pelican {
     echo -n ''
 }
 
-function reconfigure_blogstatic {
+function reconfigure_pelican {
     echo -n ''
 }
 
-function upgrade_blogstatic {
+function upgrade_pelican {
     echo -n ''
 }
 
-function backup_local_blogstatic {
+function backup_local_pelican {
     echo -n ''
 }
 
-function restore_local_blogstatic {
+function restore_local_pelican {
     echo -n ''
 }
 
-function backup_remote_blogstatic {
+function backup_remote_pelican {
     echo -n ''
 }
 
-function restore_remote_blogstatic {
+function restore_remote_pelican {
     echo -n ''
 }
 
-function remove_blogstatic {
+function remove_pelican {
     echo -n ''
 }
 
@@ -188,7 +188,7 @@ function create_pelican_publish_conf {
     echo 'DELETE_OUTPUT_DIRECTORY = True' >> $STATIC_BLOG_FILE
 }
 
-function blogstatic_themes {
+function pelican_themes {
     # Clone themes separately because the themes repo sometimes has bad refs
     git clone https://github.com/KenMercusLai/BT3-Flat
     git clone https://github.com/abr4xas/Casper2Pelican
@@ -263,7 +263,7 @@ function blogstatic_themes {
     git clone https://github.com/kplaube/yapeme
 }
 
-function mesh_install_blogstatic {
+function mesh_install_pelican {
     if [[ $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
         return
     fi
@@ -295,7 +295,7 @@ function mesh_install_blogstatic {
 
     mkdir -p $rootdir$STATIC_BLOG_INSTALL_DIR/themes
     cd $rootdir$STATIC_BLOG_INSTALL_DIR/themes
-    blogstatic_themes
+    pelican_themes
 
     #git clone --recursive $PELICAN_PLUGINS_REPO $rootdir$STATIC_BLOG_INSTALL_DIR/plugins
 
@@ -303,9 +303,9 @@ function mesh_install_blogstatic {
     chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Public
 }
 
-function install_blogstatic {
+function install_pelican {
     if [ $INSTALLING_MESH ]; then
-        mesh_install_blogstatic
+        mesh_install_pelican
         return
     fi
 
@@ -336,7 +336,7 @@ function install_blogstatic {
 
     mkdir -p $PELICAN_THEMES_REPO $STATIC_BLOG_INSTALL_DIR/themes
     cd $PELICAN_THEMES_REPO $STATIC_BLOG_INSTALL_DIR/themes
-    blogstatic_themes
+    pelican_themes
 
     #git clone --recursive $PELICAN_PLUGINS_REPO $STATIC_BLOG_INSTALL_DIR/plugins
 
diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise
index e20d39dc1..c3b7b91ed 100755
--- a/src/freedombone-image-customise
+++ b/src/freedombone-image-customise
@@ -568,7 +568,7 @@ initialise_mesh() {
     install_ipfs
     install_tox
     install_web_server
-    install_blogstatic
+    install_pelican
     if [ $ENABLE_ZERONET ]; then
         install_zeronet
     fi
-- 
GitLab