Update v-clone-website

This commit is contained in:
dpeca 2020-02-02 14:54:39 +01:00 committed by GitHub
commit b5db512b8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,9 +206,11 @@ if [ $IT_IS_WP -eq 0 ]; then
exit 14 exit 14
fi fi
else else
if [ ! -f "/usr/local/bin/wp" ]; then
echo "=== Downloading latest wp-cli" echo "=== Downloading latest wp-cli"
wget -nv https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -O /usr/local/bin/wp wget -nv https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -O /usr/local/bin/wp
chmod +x /usr/local/bin/wp chmod +x /usr/local/bin/wp
fi
fi fi