1
0
Fork 0
mirror of https://github.com/myvesta/vesta synced 2025-08-10 16:47:39 -07:00

Update v-install-wordpress

if the user reached the database limit abort the installation
This commit is contained in:
Umut Korkmaz 2022-02-16 20:24:10 +03:00 committed by GitHub
commit 2f115195d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,12 @@ source /etc/profile
source /usr/local/vesta/func/main.sh
source /usr/local/vesta/func/db.sh
if [[ $(is_package_full 'DATABASES') = *reached* ]]; then
echo "Database limit is reached. Delete database or upgrade user package."
exit
fi
#----------------------------------------------------------#
# Verifications #
#----------------------------------------------------------#