check for existing Vhost Stack install

This commit is contained in:
Matthew Saunders Brown 2024-06-14 14:04:23 -07:00
parent ca64b8ab16
commit e4b529795b

View File

@ -25,6 +25,12 @@ if [ -d "/etc/letsencrypt/" ] || [ -d "/opt/certbot/" ] || [ -f "/usr/bin/certbo
exit 1
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
# Old apt installation instructions
#apt-get update
#DEBIAN_FRONTEND=noninteractive apt-get -y install certbot python3-certbot python3-certbot-apache