Merge pull request #30 from SchuhMichael/master

Fixed install.sh for Centos7 with lsb_release command available
This commit is contained in:
Eli Uriegas authored and GitHub committed 2017-09-07 10:23:09 -07:00
commit 6fa437d7d1
1 file changed
+6
+6
View File
@@ -349,6 +349,12 @@ do_install() {
esac
;;
centos)
if [ -z "$dist_version" ] && [ -r /etc/os-release ]; then
dist_version="$(. /etc/os-release && echo "$VERSION_ID")"
fi
;;
*)
if command_exists lsb_release; then
dist_version="$(lsb_release --codename | cut -f2)"