typeset is deprecated
When running this on OS X the following errors will occur.
typeset: usage: line 83: typeset: -u: invalid option
typeset: usage: line 84: typeset: -l: invalid option
Typeset is deprecated. Tried replacing it with declare but got the same error (except it said declare: -u: invalid option).
Same problem here, any solution on this?
Same here, anyone solved it?
Remove both lines with typeset and also the for...each block afterwards and just replace it with:
export PHP_IP=${subnet}.100
export PHP_DOMAIN=php.${domain}
export WWW_IP=${subnet}.101
export WWW_DOMAIN=www.${domain}
export DB_IP=${subnet}.102
export DB_DOMAIN=db.${domain}
export MAIL_IP=${subnet}.103
export MAIL_DOMAIN=mail.${domain}
export PMA_IP=${subnet}.104
export PMA_DOMAIN=pma.${domain}