Making sure domain_idn is always set

This commit is contained in:
dpeca 2017-03-05 23:34:07 +01:00
commit 6d88ca31c3
74 changed files with 142 additions and 1 deletions

View file

@ -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 ?
#----------------------------------------------------------#