Rename blogstatic to pelican
This commit is contained in:
parent
22fc220f1d
commit
3d1d044d81
|
@ -35,47 +35,47 @@ PELICAN_THEMES_REPO="https://github.com/getpelican/pelican-themes"
|
||||||
PELICAN_PLUGINS_REPO="https://github.com/getpelican/pelican-plugins"
|
PELICAN_PLUGINS_REPO="https://github.com/getpelican/pelican-plugins"
|
||||||
DEFAULT_BLOG_TITLE=$"Freedombone Blog"
|
DEFAULT_BLOG_TITLE=$"Freedombone Blog"
|
||||||
|
|
||||||
blogstatic_variables=(MY_USERNAME
|
pelican_variables=(MY_USERNAME
|
||||||
STATIC_BLOG_DOMAIN)
|
STATIC_BLOG_DOMAIN)
|
||||||
|
|
||||||
function configure_interactive_blogstatic {
|
function configure_interactive_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_interactive_blogstatic {
|
function install_interactive_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
APP_INSTALLED=1
|
APP_INSTALLED=1
|
||||||
}
|
}
|
||||||
|
|
||||||
function change_password_blogstatic {
|
function change_password_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function reconfigure_blogstatic {
|
function reconfigure_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function upgrade_blogstatic {
|
function upgrade_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function backup_local_blogstatic {
|
function backup_local_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function restore_local_blogstatic {
|
function restore_local_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function backup_remote_blogstatic {
|
function backup_remote_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function restore_remote_blogstatic {
|
function restore_remote_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function remove_blogstatic {
|
function remove_pelican {
|
||||||
echo -n ''
|
echo -n ''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -188,7 +188,7 @@ function create_pelican_publish_conf {
|
||||||
echo 'DELETE_OUTPUT_DIRECTORY = True' >> $STATIC_BLOG_FILE
|
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
|
# Clone themes separately because the themes repo sometimes has bad refs
|
||||||
git clone https://github.com/KenMercusLai/BT3-Flat
|
git clone https://github.com/KenMercusLai/BT3-Flat
|
||||||
git clone https://github.com/abr4xas/Casper2Pelican
|
git clone https://github.com/abr4xas/Casper2Pelican
|
||||||
|
@ -263,7 +263,7 @@ function blogstatic_themes {
|
||||||
git clone https://github.com/kplaube/yapeme
|
git clone https://github.com/kplaube/yapeme
|
||||||
}
|
}
|
||||||
|
|
||||||
function mesh_install_blogstatic {
|
function mesh_install_pelican {
|
||||||
if [[ $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
|
if [[ $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
@ -295,7 +295,7 @@ function mesh_install_blogstatic {
|
||||||
|
|
||||||
mkdir -p $rootdir$STATIC_BLOG_INSTALL_DIR/themes
|
mkdir -p $rootdir$STATIC_BLOG_INSTALL_DIR/themes
|
||||||
cd $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
|
#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
|
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Public
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_blogstatic {
|
function install_pelican {
|
||||||
if [ $INSTALLING_MESH ]; then
|
if [ $INSTALLING_MESH ]; then
|
||||||
mesh_install_blogstatic
|
mesh_install_pelican
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ function install_blogstatic {
|
||||||
|
|
||||||
mkdir -p $PELICAN_THEMES_REPO $STATIC_BLOG_INSTALL_DIR/themes
|
mkdir -p $PELICAN_THEMES_REPO $STATIC_BLOG_INSTALL_DIR/themes
|
||||||
cd $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
|
#git clone --recursive $PELICAN_PLUGINS_REPO $STATIC_BLOG_INSTALL_DIR/plugins
|
||||||
|
|
|
@ -568,7 +568,7 @@ initialise_mesh() {
|
||||||
install_ipfs
|
install_ipfs
|
||||||
install_tox
|
install_tox
|
||||||
install_web_server
|
install_web_server
|
||||||
install_blogstatic
|
install_pelican
|
||||||
if [ $ENABLE_ZERONET ]; then
|
if [ $ENABLE_ZERONET ]; then
|
||||||
install_zeronet
|
install_zeronet
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue