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:
parent
8c186156fd
commit
2f115195d4
1 changed files with 6 additions and 0 deletions
|
@ -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 #
|
||||
#----------------------------------------------------------#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue