mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
keep compatible
This commit is contained in:
parent
e9209938cb
commit
b25d22b05a
7
le.sh
7
le.sh
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
VER=1.1.2
|
VER=1.1.3
|
||||||
PROJECT="https://github.com/Neilpang/le"
|
PROJECT="https://github.com/Neilpang/le"
|
||||||
|
|
||||||
DEFAULT_CA="https://acme-v01.api.letsencrypt.org"
|
DEFAULT_CA="https://acme-v01.api.letsencrypt.org"
|
||||||
@ -1071,6 +1071,11 @@ install() {
|
|||||||
mkdir -p $WORKING_DIR/dnsapi
|
mkdir -p $WORKING_DIR/dnsapi
|
||||||
cp dnsapi/* $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
|
installcronjob
|
||||||
|
|
||||||
_info OK
|
_info OK
|
||||||
|
Loading…
Reference in New Issue
Block a user