[minor] install script allowed for linuxmint, a ubuntu distribution
This commit is contained in:
parent
d8982d4af4
commit
ada70994dc
@ -51,7 +51,7 @@ def validate_install():
|
|||||||
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", "centos", "centos linux", "fedora")
|
||||||
is_debian = distribution in ("debian", "ubuntu", "elementary os")
|
is_debian = distribution in ("debian", "ubuntu", "elementary os", "linuxmint")
|
||||||
|
|
||||||
if not (is_redhat or is_debian):
|
if not (is_redhat or is_debian):
|
||||||
raise Exception, "Sorry! This installer works only with yum or apt-get package management"
|
raise Exception, "Sorry! This installer works only with yum or apt-get package management"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user