mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Refactor v-run-wp-cli to simplify WP CLI installation check by removing redundant file check for boot-fs.php
This commit is contained in:
parent
97548e55fb
commit
d18967e627
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ fi
|
||||||
|
|
||||||
wpcli=""
|
wpcli=""
|
||||||
|
|
||||||
if [ ! -f "/usr/local/bin/wp" ] || [ ! -f "/usr/local/bin/wp-cli/php/boot-fs.php" ]; then
|
if [ ! -f "/usr/local/bin/wp" ]; then
|
||||||
echo "= WP CLI is not installed. Installing..."
|
echo "= WP CLI is not installed. Installing..."
|
||||||
/usr/local/vesta/bin/v-install-wp-cli
|
/usr/local/vesta/bin/v-install-wp-cli
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue