Corrected spelling mistakes

This commit is contained in:
RhysIT 2015-11-06 17:38:58 +02:00
commit 9189ca9488
335 changed files with 408 additions and 408 deletions

View file

@ -5,7 +5,7 @@
# The function adds virtual host to a server. In cases when a template is
# undefined in the script, the template "default" will be used. The alias of
# www.domain.tld type will be automatically assigned to the domain. If ip have
# assocated dns name, this domain will also get the alias domain-tpl.$ipname.
# associated dns name, this domain will also get the alias domain-tpl.$ipname.
# An alias with the ip name is useful during the site testing while dns isn't
# moved to a server yet.
@ -14,7 +14,7 @@
# Variable&Function #
#----------------------------------------------------------#
# Argument defenition
# Argument definition
user=$1
domain=$(idn -t --quiet -u "$2" )
domain=$(echo $domain | sed -e 's/\.*$//g' -e 's/^\.*//g')