Fix wkhtmltodf and wp-cli installation

This commit is contained in:
dvlbot
2022-12-14 11:35:06 +01:00
parent a1f7c0ccdd
commit d4b1fb1e9e
15 changed files with 52 additions and 24 deletions

View File

@@ -6,7 +6,9 @@ all:
type: custom
command: curl -sS -L --fail "${WPCLI_URL}" -L -o /usr/local/bin/wp
build_dep: []
run_dep: []
# Fixes: sh: 1: less: not found during 'wp help'
# It internally pipes it to less.
run_dep: [less]
pre: WPCLI_URL="https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar"
post: chmod +x /usr/local/bin/wp