From 5dcf454dacb1a104fea90735f9a0fa2d76854faf Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Mon, 26 Nov 2012 11:59:04 +0000 Subject: Add a DistroInfo class --- (limited to 'commands/check-system') 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 -- cgit v0.9.1