mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Making sure domain_idn is always set
This commit is contained in:
parent
8ae70316e9
commit
6d88ca31c3
74 changed files with 142 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
# Argument definition
|
||||
user=$1
|
||||
domain=$2
|
||||
domain_idn=$2
|
||||
dom_alias=$(idn -t --quiet -u "$3" )
|
||||
dom_alias=$(echo $dom_alias |sed -e 's/\.*$//g' -e 's/^\.*//g')
|
||||
dom_alias=$(echo $dom_alias |tr '[:upper:]' '[:lower:]')
|
||||
|
@ -26,6 +27,7 @@ source $VESTA/conf/vesta.conf
|
|||
# Additional argument formatting
|
||||
format_domain
|
||||
format_domain_idn
|
||||
# TODO: $domain_idn not used in this script - maybe $domain should be converted to $doman_idn ?
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue