minor, install without dnsapi

This commit is contained in:
neil 2016-04-16 20:06:26 +08:00
parent 8f7ad693a8
commit 6ed1c718b9

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" _info "No profile is found, you will need to go into $LE_WORKING_DIR to use $PROJECT_NAME"
fi fi
if [[ -d "dnsapi" ]] ; then
mkdir -p $LE_WORKING_DIR/dnsapi mkdir -p $LE_WORKING_DIR/dnsapi
cp dnsapi/* $LE_WORKING_DIR/dnsapi/ cp dnsapi/* $LE_WORKING_DIR/dnsapi/
fi
#to keep compatible mv the .acc file to .key file #to keep compatible mv the .acc file to .key file
if [[ -f "$LE_WORKING_DIR/account.acc" ]] ; then if [[ -f "$LE_WORKING_DIR/account.acc" ]] ; then