Bladeren bron

Fix Ubuntu check - forgot to actually inspect the distro

Aanand Prasad 11 jaren geleden
bovenliggende
commit
2b89494405
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      fig/cli/utils.py

+ 1 - 1
fig/cli/utils.py

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