Add hotfix for content filters
This commit is contained in:
parent
5927303b21
commit
2d95b430bc
1 changed files with 8 additions and 9 deletions
17
build
17
build
|
@ -14,15 +14,14 @@ set -e
|
||||||
pyvenv env
|
pyvenv env
|
||||||
env/bin/pip install -r requirements.txt
|
env/bin/pip install -r requirements.txt
|
||||||
|
|
||||||
if [ -d "plugins/" ]; then
|
echo ">> Cleaning plugins..."
|
||||||
echo ">> Updating plugins"
|
rm -rf pelican_plugins
|
||||||
cd plugins/
|
|
||||||
git pull
|
|
||||||
git submodule update --recursive
|
|
||||||
cd -
|
|
||||||
else
|
|
||||||
git clone --recursive https://github.com/getpelican/pelican-plugins plugins/
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
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
|
npm install
|
||||||
|
|
Reference in a new issue