More Travis issues !!!

This commit is contained in:
David Kerr 2017-02-05 15:12:23 -05:00
parent 62e7d904b4
commit ff60dc4d24

View File

@ -36,6 +36,14 @@ sshdeploy_deploy() {
_homedir="$_homedir/.acme_ssh_deploy"
_backupdir="$_homedir/certs-backup-$(date +%Y%m%d%H%M%S)"
if [ -z "$DOMAIN_CONF" ]; then
DOMAIN_CONF=""
fi
if [ ! -f "$DOMAIN_CONF" ]; then
_err "$DOMAIN_CONF does not exist."
return 1
fi
. "$DOMAIN_CONF"
_debug _cdomain "$_cdomain"