Browse Source
Issue #2849 Trivial variable name fix from apacheMajer to apacheMajor
pull/3015/head
Tony Gravagno
4 years ago
No known key found for this signature in database
GPG Key ID: B82E26D444BBD764
1 changed files with
2 additions and
2 deletions
-
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)" |
|
|
apacheVer="$($_APACHECTL -V | grep "Server version:" | cut -d : -f 2 | cut -d " " -f 2 | cut -d '/' -f 2)" |
|
|
_debug "apacheVer" "$apacheVer" |
|
|
_debug "apacheVer" "$apacheVer" |
|
|
apacheMajer="$(echo "$apacheVer" | cut -d . -f 1)" |
|
|
|
|
|
|
|
|
apacheMajor="$(echo "$apacheVer" | cut -d . -f 1)" |
|
|
apacheMinor="$(echo "$apacheVer" | cut -d . -f 2)" |
|
|
apacheMinor="$(echo "$apacheVer" | cut -d . -f 2)" |
|
|
|
|
|
|
|
|
if [ "$apacheVer" ] && [ "$apacheMajer$apacheMinor" -ge "24" ]; then |
|
|
|
|
|
|
|
|
if [ "$apacheVer" ] && [ "$apacheMajor$apacheMinor" -ge "24" ]; then |
|
|
echo " |
|
|
echo " |
|
|
Alias /.well-known/acme-challenge $ACME_DIR |
|
|
Alias /.well-known/acme-challenge $ACME_DIR |
|
|
|
|
|
|
|
|