mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
improved integer validator
This commit is contained in:
parent
01b51dd21d
commit
862012be3f
2 changed files with 18 additions and 18 deletions
|
@ -29,16 +29,16 @@ is_package_new() {
|
|||
|
||||
is_package_consistent() {
|
||||
source $pkg_dir/$package.pkg
|
||||
validate_format_int $WEB_DOMAINS
|
||||
validate_format_int $WEB_ALIASES
|
||||
validate_format_int $DNS_DOMAINS
|
||||
validate_format_int $DNS_RECORDS
|
||||
validate_format_int $MAIL_DOMAINS
|
||||
validate_format_int $MAIL_ACCOUNTS
|
||||
validate_format_int $DATABASES
|
||||
validate_format_int $CRON_JOBS
|
||||
validate_format_int $DISK_QUOTA
|
||||
validate_format_int $BACKUPS
|
||||
validate_format_int $WEB_DOMAINS 'WEB_DOMAINS'
|
||||
validate_format_int $WEB_ALIASES 'WEB_ALIASES'
|
||||
validate_format_int $DNS_DOMAINS 'DNS_DOMAINS'
|
||||
validate_format_int $DNS_RECORDS 'DNS_RECORDS'
|
||||
validate_format_int $MAIL_DOMAINS 'MAIL_DOMAINS'
|
||||
validate_format_int $MAIL_ACCOUNTS 'MAIL_ACCOUNTS'
|
||||
validate_format_int $DATABASES 'DATABASES'
|
||||
validate_format_int $CRON_JOBS 'CRON_JOBS'
|
||||
validate_format_int $DISK_QUOTA 'DISK_QUOTA'
|
||||
validate_format_int $BACKUPS 'BACKUPS'
|
||||
validate_format_shell $SHELL
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue