Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
94787d53
Unverified
Commit
94787d53
authored
Jun 29, 2020
by
Tony Gravagno
Browse files
Issue #2849 Trivial variable name fix from apacheMajer to apacheMajor
parent
bb8cff96
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
94787d53
...
@@ -2801,10 +2801,10 @@ _setApache() {
...
@@ -2801,10 +2801,10 @@ _setApache() {
apacheVer="$($_APACHECTL -V | grep "Server version:" | cut -d : -f 2 | cut -d " " -f 2 | cut -d '/' -f 2)"
apacheVer="$($_APACHECTL -V | grep "Server version:" | cut -d : -f 2 | cut -d " " -f 2 | cut -d '/' -f 2)"
_debug "apacheVer" "$apacheVer"
_debug "apacheVer" "$apacheVer"
apacheMaj
e
r="$(echo "$apacheVer" | cut -d . -f 1)"
apacheMaj
o
r="$(echo "$apacheVer" | cut -d . -f 1)"
apacheMinor="$(echo "$apacheVer" | cut -d . -f 2)"
apacheMinor="$(echo "$apacheVer" | cut -d . -f 2)"
if [ "$apacheVer" ] && [ "$apacheMaj
e
r$apacheMinor" -ge "24" ]; then
if [ "$apacheVer" ] && [ "$apacheMaj
o
r$apacheMinor" -ge "24" ]; then
echo "
echo "
Alias /.well-known/acme-challenge $ACME_DIR
Alias /.well-known/acme-challenge $ACME_DIR
...
...
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