require Vhost Stack install
This commit is contained in:
parent
90501267be
commit
a344e1d6db
|
@ -10,6 +10,12 @@ if [ "${EUID}" -ne 0 ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "/usr/local/bin/vhost.sh" ]; then
|
||||||
|
echo "NOTICE: This package requires that Vhost Stack is installed first."
|
||||||
|
echo "https://git.stack-source.com/msb/vhost-stack"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# download & install wp-cli
|
# download & install wp-cli
|
||||||
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
||||||
mv wp-cli.phar /usr/local/bin/wp
|
mv wp-cli.phar /usr/local/bin/wp
|
||||||
|
|
Loading…
Reference in New Issue
Block a user