Let's keep spaces consistent

This commit is contained in:
Lutchy Horace 2021-11-11 17:13:39 -05:00
parent dce6be0601
commit 6f757f2ab7
1 changed files with 9 additions and 9 deletions

View File

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