Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 940291a

Browse files
authoredOct 12, 2020
Merge pull request Varying-Vagrant-Vagrants#2250 from Varying-Vagrant-Vagrants/Mte90/2051
Install wpcli doctor package, fix Varying-Vagrant-Vagrants#2051
2 parents 38cd5c5 + 3680a85 commit 940291a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ permalink: /docs/en-US/changelog/
1616
* Prevent use of sudo vagrant up ( #2215 )
1717
* Major refactor of the main provisioner, and introduction of a hook system to be used while provisioning ( #2230, #2238 )
1818
* Support for cloning git repositories into sites via `config.yml` ( #2247 )
19+
* Install WP-CLI doctor package ( #2051 )
1920
* Enhanced database backup terminal output ( #2256 )
2021

2122
### Deprecations

‎provision/core/wp-cli/provision.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ function wp_cli_setup() {
2020

2121
echo " * Grabbing WP CLI bash completions"
2222
# Install bash completions
23-
curl -s https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash -o /srv/config/wp-cli/wp-completion.bash
23+
noroot curl -s https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash -o /srv/config/wp-cli/wp-completion.bash
2424
else
2525
echo " * Updating wp-cli..."
2626
wp --allow-root cli update --nightly --yes
2727
fi
28+
wp --allow-root package install git@github.com:wp-cli/doctor-command.git
2829
}
2930
export -f wp_cli_setup
3031

31-
vvv_add_hook after_packages wp_cli_setup
32+
vvv_add_hook after_packages wp_cli_setup

0 commit comments

Comments
 (0)
This repository has been archived.