diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-26 11:59:04 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-26 11:59:04 (GMT) |
commit | 5dcf454dacb1a104fea90735f9a0fa2d76854faf (patch) | |
tree | 2323715ae506fcf2627c7fbaabc7d072c387ab3d /commands/check-system | |
parent | c5709d02c5bc52e06862c14df8df4fc764f30d09 (diff) |
Add a DistroInfo class
Diffstat (limited to 'commands/check-system')
-rwxr-xr-x | commands/check-system | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/check-system b/commands/check-system index 2f501c0..85d1f7d 100755 --- a/commands/check-system +++ b/commands/check-system @@ -32,7 +32,7 @@ def apply_ubuntu_tweaks(): command.run_with_sudo([ubuntu_tweaks]) -if distro.get_distro_name() == "ubuntu": +if distro.get_distro_info().name == "ubuntu": apply_ubuntu_tweaks() interactive = "SUGAR_BUILDBOT" not in os.environ |