diff --git a/createVhosts.sh b/createVhosts.sh index 7f54588..74735cc 100755 --- a/createVhosts.sh +++ b/createVhosts.sh @@ -175,12 +175,12 @@ if [[ $_domain = false ]]; then fi if test -n "$_root"; then - echo -n "Checking if $_root exists?" + echo -n "Checking if $_root exists? " if ! test -d "$_root"; then - echo " Creating..." + echo "Creating..." mkdir -p "$_root" else - echo " Yes!" + echo "Yes!" fi _rootpath="root $_root;" fi @@ -244,12 +244,12 @@ if test -z "$_root" -a -z "$_backend"; then err "You must specify either --root or --backend!" fi -echo -n "Checking if we should redirect?" +echo -n "Checking if we should redirect? " if [ "$_donotredirect" = "false" ]; then - echo " Yes, enabling redirect!" + echo "Yes, enabling redirect!" _locationblock_http=" return 302 https://${_domain}\$request_uri;" else - echo " No!" + echo "No!" fi echo -n "Checking if conf path '$_confpath' exists? " @@ -268,12 +268,12 @@ fi ## Begin issuing certificate ########################################### -echo -n "Checking if /srv/http-content-combined/ exists?" +echo -n "Checking if /srv/http-content-combined/ exists? " if ! test -d /srv/http-content-combined; then - echo " Creating..." + echo "Creating..." mkdir -p /srv/http-content-combined/ else - echo " Yes!" + echo "Yes!" fi _vhost_conf_file=$_confpath/conf.d/${_domain}.conf