Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add suport for Scientific Linux, closes #2685

  • Loading branch information...
commit 98c0a3aadfcade0b9b34701978c4eacfbcc17eba 1 parent 1b293d4
@mpapis mpapis authored
View
5 scripts/functions/requirements/centos
@@ -162,3 +162,8 @@ requirements_mageia_before()
{
__lib_type=centos
}
+
+requirements_scientific_before()
+{
+ __lib_type=centos
+}
View
1  scripts/functions/requirements/scientific
View
2  scripts/functions/utility_system
@@ -107,7 +107,7 @@ __rvm_detect_system()
[[ -f /etc/redhat-release ]]
then
_system_name="$(
- GREP_OPTIONS="" \grep -Eo 'CentOS|ClearOS|Mageia' /etc/redhat-release 2>/dev/null
+ GREP_OPTIONS="" \grep -Eo 'CentOS|ClearOS|Mageia|Scientific' /etc/redhat-release 2>/dev/null
)" ||
_system_name="RedHat"
_system_version="$(GREP_OPTIONS="" \grep -Eo '[0-9\.]+' /etc/redhat-release | \awk -F. 'NR==1{print $1}')"
Please sign in to comment.
Something went wrong with that request. Please try again.