diff --git a/build b/build index 0f2dd75..1458ed1 100755 --- a/build +++ b/build @@ -14,15 +14,14 @@ set -e pyvenv env env/bin/pip install -r requirements.txt -if [ -d "plugins/" ]; then - echo ">> Updating plugins" - cd plugins/ - git pull - git submodule update --recursive - cd - -else - git clone --recursive https://github.com/getpelican/pelican-plugins plugins/ -fi +echo ">> Cleaning plugins..." +rm -rf pelican_plugins +echo ">> Installing Plugins" +git clone --recursive https://github.com/getpelican/pelican-plugins pelican_plugins/ + +echo ">> Hot fixing..." +rm -rf pelican_plugins/pelican-jinja2content +git clone https://github.com/RealOrangeOne/pelican-jinja2content pelican_plugins/pelican-jinja2content npm install