Skip to content
Permalink
Browse files

use wp-cli nightly

fixes wordpress build

see wp-cli/wp-cli#4370 (comment)
  • Loading branch information...
vintagesucks committed Sep 21, 2017
1 parent d814c4d commit de7bf3434708aa3f92e80b00430dd3bb5b8ff41b
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.sh
@@ -484,7 +484,7 @@ function install_wordpress()
wpadminpass=$(dd if=/dev/urandom bs=1 count=32 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev | tr -dc 'a-zA-Z0-9')

# Download and install wp-cli
curl -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
curl -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli-nightly.phar
chmod +x /usr/local/bin/wp
# Download latest WordPress version
wp core download --path=/var/www/"${domain}" --allow-root

0 comments on commit de7bf34

Please sign in to comment.
You can’t perform that action at this time.