Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rwxr-xr-xcommands/check-system2
-rw-r--r--commands/common.py2
2 files changed, 2 insertions, 2 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
diff --git a/commands/common.py b/commands/common.py
index e8fab6c..82f3869 100644
--- a/commands/common.py
+++ b/commands/common.py
@@ -23,7 +23,7 @@ def setup():
config.set_home_dir(os.path.join(base_dir, "home"))
config.set_prefs_path(os.path.join(base_dir, "prefs"))
- version = distro.get_system_version()
+ version = distro.get_distro_info().system_version
module_files = ["system-%s.json" % version,
"sugar.json",