From b25d22b05a6e199817e3baf42de31dd2b908b1ee Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 31 Jan 2016 16:38:52 +0800 Subject: [PATCH] keep compatible --- le.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 1646d6f2..b2d7f1f9 100755 --- a/le.sh +++ b/le.sh @@ -1,5 +1,5 @@ #!/bin/bash -VER=1.1.2 +VER=1.1.3 PROJECT="https://github.com/Neilpang/le" DEFAULT_CA="https://acme-v01.api.letsencrypt.org" @@ -1071,6 +1071,11 @@ install() { mkdir -p $WORKING_DIR/dnsapi cp dnsapi/* $WORKING_DIR/dnsapi/ + #to keep compatible mv the .acc file to .key file + if [ -f "$WORKING_DIR/account.acc" ] ; then + mv "$WORKING_DIR/account.acc" "$WORKING_DIR/account.key" + fi + installcronjob _info OK