Magically install imgkit

This commit is contained in:
Alexandre Aubin 2021-09-10 23:12:12 +02:00
parent f06040486b
commit 589a85bdb4

View file

@ -213,10 +213,11 @@ function fetch_or_upgrade_package_linter()
then
log_info "Installing Package linter"
git clone --quiet $git_repository "./package_linter"
pip3 install pyparsing six
pip3 install pyparsing six imgkit
else
git -C "./package_linter" fetch origin --quiet
git -C "./package_linter" reset --hard origin/master --quiet
python3 -c "import imgkit" 2>/dev/null || pip3 install imgkit
fi
}