require Vhost Stack install

This commit is contained in:
Matthew Saunders Brown 2024-06-14 14:05:03 -07:00
parent 90501267be
commit a344e1d6db

View File

@ -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