Skip to content

Commit

Permalink
Update to version 2016.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wineman committed Oct 31, 2016
1 parent d294ed9 commit 1076a03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
* Aut 05 2016 CloudFlare Inc <[email protected]> - 2016.8.0
* Oct 24 2016 CloudFlare Inc <[email protected]> - 2016.10.0
- Change OS detection for EasyApache 4 installer to work with CentOS < 7

* Aug 05 2016 CloudFlare Inc <[email protected]> - 2016.8.0
- Updated CloudFlare IPv6 ranges
- Support for installing on EasyApache4

Expand Down
8 changes: 3 additions & 5 deletions EasyApache/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ function install_ea3 {
function install_ea4 {

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

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

if [[ $DISTRO_VERSION == "6" || $DISTRO_VERSION == "7" ]]; then
echo
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
MAJOR=2016
MINOR=8
MINOR=10
BUILD=0

3 comments on commit 1076a03

@glensc
Copy link

@glensc glensc commented on 1076a03 Aug 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about pushing some git tags to github as well?

@nurhosain11
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DNS client

@AndreiG6
Copy link

@AndreiG6 AndreiG6 commented on 1076a03 Nov 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is wrong with people... Why would you cat|grep|sed|sed, then update with cat|awk, and cat|sed?! how2regex... this misuse of pipes is horrendous, and any sane person writing Bash would facepalm for days. Thank god this mod is deprecated, I can only imagine the C code lol.

Please sign in to comment.