Please sign in to comment.
Fix CentOS 7.6 detection
The version information in /etc/centos-release has 3 parts, in particular for CentOS 7.6: CentOS Linux release 7.6.1810 (Core) This was misidentified as CentOS 6 because the substring "6." was matched before matching "7.". This change fixes this by requiring a space before the major version.
- Loading branch information...
Showing with 4 additions and 4 deletions.