Skip to content

Commit 1076a03

Browse files
author
John Wineman
committed
Update to version 2016.10.0
1 parent d294ed9 commit 1076a03

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

ChangeLog

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
* Aut 05 2016 CloudFlare Inc <help@cloudflare.com> - 2016.8.0
1+
* Oct 24 2016 CloudFlare Inc <help@cloudflare.com> - 2016.10.0
2+
- Change OS detection for EasyApache 4 installer to work with CentOS < 7
3+
4+
* Aug 05 2016 CloudFlare Inc <help@cloudflare.com> - 2016.8.0
25
- Updated CloudFlare IPv6 ranges
36
- Support for installing on EasyApache4
47

EasyApache/installer.sh

+3-5
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ function install_ea3 {
3838
function install_ea4 {
3939

4040
#
41-
# Reasonably reliable way to get OS distribution name and version
41+
# Get OS version from redhat-release
4242
#
43-
DISTRO_NAME=`cat /etc/os-release | grep "^NAME" | sed 's/NAME="//' | sed 's/"//'`
44-
DISTRO_VERSION=`cat /etc/os-release | grep "^VERSION_ID" | sed 's/VERSION_ID="//' | sed 's/"//'`
43+
DISTRO_NAME=`cat /etc/redhat-release | awk {'print$1'}`
44+
DISTRO_VERSION=`cat /etc/redhat-release | sed -e 's/.*release \(.*\) (.*)/\1/' -e 's/\..*//'`
4545

46-
# Remove trailing minor version
47-
DISTRO_VERSION=`sed "s/\..*//" <<<"$DISTRO_VERSION"`
4846

4947
if [[ $DISTRO_VERSION == "6" || $DISTRO_VERSION == "7" ]]; then
5048
echo

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
MAJOR=2016
2-
MINOR=8
2+
MINOR=10
33
BUILD=0

0 commit comments

Comments
 (0)