Browse Source

Remove hardcoded wp-cli version for autocompletion

old-stable
Mitesh Shah 11 years ago
parent
commit
330af0ee27
  1. 2
      src/vendor/ee_ven_install_wpcli.sh

2
src/vendor/ee_ven_install_wpcli.sh

@ -12,6 +12,6 @@ function ee_ven_install_wpcli()
|| ee_lib_error "Unable to set executable permission for wp-cli, exit status = " $?
# Download auto completion
wget -qO /etc/bash_completion.d/wp-completion.bash https://raw.githubusercontent.com/wp-cli/wp-cli/v0.16.0/utils/wp-completion.bash
wget -qO /etc/bash_completion.d/wp-completion.bash https://raw.githubusercontent.com/wp-cli/wp-cli/v${EE_WP_CLI_VERSION}/utils/wp-completion.bash
fi
}

Loading…
Cancel
Save