mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
Update install_erpnext.py
Update is_redhat variable becose distribution response with "red hat enterprise linux server" and response is False.
This commit is contained in:
@@ -72,7 +72,7 @@ def validate_install():
|
|||||||
# check distribution
|
# check distribution
|
||||||
distribution = platform.linux_distribution()[0].lower().replace('"', '')
|
distribution = platform.linux_distribution()[0].lower().replace('"', '')
|
||||||
print "Distribution = ", distribution
|
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")
|
is_debian = distribution in ("debian", "ubuntu", "elementary os", "linuxmint")
|
||||||
|
|
||||||
if not (is_redhat or is_debian):
|
if not (is_redhat or is_debian):
|
||||||
|
|||||||
Reference in New Issue
Block a user