Let's keep spaces consistent
This commit is contained in:
parent
dce6be0601
commit
6f757f2ab7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue