Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/check-system
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-26 11:59:04 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-26 11:59:04 (GMT)
commit5dcf454dacb1a104fea90735f9a0fa2d76854faf (patch)
tree2323715ae506fcf2627c7fbaabc7d072c387ab3d /commands/check-system
parentc5709d02c5bc52e06862c14df8df4fc764f30d09 (diff)
Add a DistroInfo class
Diffstat (limited to 'commands/check-system')
-rwxr-xr-xcommands/check-system2
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