Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
d4dad58b
Unverified
Commit
d4dad58b
authored
Jan 15, 2020
by
neil
Committed by
GitHub
Jan 15, 2020
Browse files
Merge pull request #2694 from Neilpang/dev
sync
parents
8dea5192
baff032e
Changes
2
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
d4dad58b
#!/usr/bin/env sh
#!/usr/bin/env sh
VER
=
2.8.
4
VER
=
2.8.
5
PROJECT_NAME
=
"acme.sh"
PROJECT_NAME
=
"acme.sh"
...
@@ -2415,7 +2415,7 @@ __initHome() {
...
@@ -2415,7 +2415,7 @@ __initHome() {
if
[
-z
"
$ACCOUNT_CONF_PATH
"
]
;
then
if
[
-z
"
$ACCOUNT_CONF_PATH
"
]
;
then
ACCOUNT_CONF_PATH
=
"
$_DEFAULT_ACCOUNT_CONF_PATH
"
ACCOUNT_CONF_PATH
=
"
$_DEFAULT_ACCOUNT_CONF_PATH
"
fi
fi
_debug3 ACCOUNT_CONF_PATH
"
$ACCOUNT_CONF_PATH
"
DEFAULT_LOG_FILE
=
"
$LE_CONFIG_HOME
/
$PROJECT_NAME
.log"
DEFAULT_LOG_FILE
=
"
$LE_CONFIG_HOME
/
$PROJECT_NAME
.log"
DEFAULT_CA_HOME
=
"
$LE_CONFIG_HOME
/ca"
DEFAULT_CA_HOME
=
"
$LE_CONFIG_HOME
/ca"
...
@@ -6303,6 +6303,7 @@ _installOnline() {
...
@@ -6303,6 +6303,7 @@ _installOnline() {
chmod
+x
$PROJECT_ENTRY
chmod
+x
$PROJECT_ENTRY
if
./
$PROJECT_ENTRY
install
"
$_nocron
"
""
"
$_noprofile
"
;
then
if
./
$PROJECT_ENTRY
install
"
$_nocron
"
""
"
$_noprofile
"
;
then
_info
"Install success!"
_info
"Install success!"
_initpath
_saveaccountconf
"UPGRADE_HASH"
"
$(
_getMasterHash
)
"
_saveaccountconf
"UPGRADE_HASH"
"
$(
_getMasterHash
)
"
fi
fi
...
...
dnsapi/dns_gcloud.sh
View file @
d4dad58b
...
@@ -131,7 +131,7 @@ _dns_gcloud_find_zone() {
...
@@ -131,7 +131,7 @@ _dns_gcloud_find_zone() {
filter
=
"
$filter$part
. "
filter
=
"
$filter$part
. "
part
=
"
$(
echo
"
$part
"
|
sed
's/[^.]*\.*//'
)
"
part
=
"
$(
echo
"
$part
"
|
sed
's/[^.]*\.*//'
)
"
done
done
filter
=
"
$filter
)"
filter
=
"
$filter
)
AND visibility=public
"
_debug filter
"
$filter
"
_debug filter
"
$filter
"
# List domains and find the zone with the deepest sub-domain (in case of some levels of delegation)
# List domains and find the zone with the deepest sub-domain (in case of some levels of delegation)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment