mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-10-31 19:41:45 +00:00
Issue #2849 Trivial variable name fix from apacheMajer to apacheMajor
This commit is contained in:
parent
bb8cff967e
commit
94787d537a
4
acme.sh
4
acme.sh
@ -2801,10 +2801,10 @@ _setApache() {
|
||||
|
||||
apacheVer="$($_APACHECTL -V | grep "Server version:" | cut -d : -f 2 | cut -d " " -f 2 | cut -d '/' -f 2)"
|
||||
_debug "apacheVer" "$apacheVer"
|
||||
apacheMajer="$(echo "$apacheVer" | cut -d . -f 1)"
|
||||
apacheMajor="$(echo "$apacheVer" | cut -d . -f 1)"
|
||||
apacheMinor="$(echo "$apacheVer" | cut -d . -f 2)"
|
||||
|
||||
if [ "$apacheVer" ] && [ "$apacheMajer$apacheMinor" -ge "24" ]; then
|
||||
if [ "$apacheVer" ] && [ "$apacheMajor$apacheMinor" -ge "24" ]; then
|
||||
echo "
|
||||
Alias /.well-known/acme-challenge $ACME_DIR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user