minor, install without dnsapi

This commit is contained in:
neil 2016-04-16 20:06:26 +08:00
parent 8f7ad693a8
commit 6ed1c718b9
1 changed files with 4 additions and 2 deletions

View File

@ -1825,8 +1825,10 @@ install() {
_info "No profile is found, you will need to go into $LE_WORKING_DIR to use $PROJECT_NAME"
fi
mkdir -p $LE_WORKING_DIR/dnsapi
cp dnsapi/* $LE_WORKING_DIR/dnsapi/
if [[ -d "dnsapi" ]] ; then
mkdir -p $LE_WORKING_DIR/dnsapi
cp dnsapi/* $LE_WORKING_DIR/dnsapi/
fi
#to keep compatible mv the .acc file to .key file
if [[ -f "$LE_WORKING_DIR/account.acc" ]] ; then