From 2d95b430bcf54e82a3226222e2abc33805c9cf0b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 30 May 2016 17:40:41 +0100 Subject: [PATCH] Add hotfix for content filters --- build | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) 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