From 5651d98774f57b942d484671a042e7a5b73b8b2e Mon Sep 17 00:00:00 2001 From: Luis Perez Date: Thu, 7 Nov 2013 14:53:49 -0600 Subject: [PATCH] Update install_erpnext.py Update is_redhat variable becose distribution response with "red hat enterprise linux server" and response is False. --- install_erpnext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_erpnext.py b/install_erpnext.py index 303c83b222..da8dc06456 100644 --- a/install_erpnext.py +++ b/install_erpnext.py @@ -72,7 +72,7 @@ def validate_install(): # check distribution distribution = platform.linux_distribution()[0].lower().replace('"', '') print "Distribution = ", distribution - is_redhat = distribution in ("redhat", "centos", "centos linux", "fedora") + is_redhat = distribution in ("redhat", "red hat enterprise linux server", "centos", "centos linux", "fedora") is_debian = distribution in ("debian", "ubuntu", "elementary os", "linuxmint") if not (is_redhat or is_debian):