Fix Ubuntu check - forgot to actually inspect the distro

This commit is contained in:
Aanand Prasad 2014-02-04 15:31:05 -08:00
parent 2bac1c10b0
commit 2b89494405
1 changed files with 1 additions and 1 deletions

View File

@ -125,4 +125,4 @@ def is_mac():
def is_ubuntu():
return platform.system() == 'Linux'
return platform.system() == 'Linux' and platform.linux_distribution()[0] == 'Ubuntu'