Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/system.py
diff options
context:
space:
mode:
Diffstat (limited to 'devbot/system.py')
-rw-r--r--devbot/system.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/devbot/system.py b/devbot/system.py
index 57e223c..8cb15db 100644
--- a/devbot/system.py
+++ b/devbot/system.py
@@ -75,7 +75,7 @@ checkers = { "binary": check_binary,
"include": check_include }
def run_checks(package_manager, checks, packages):
- distro_name = distro.get_distro_name()
+ distro_name = distro.get_distro_info().name
failed_checks = []
to_install = []
@@ -137,7 +137,7 @@ def warn_if_unsupported(distro_name):
"*********************************************************\n"
def remove_packages(package_manager, packages):
- distro_name = distro.get_distro_name()
+ distro_name = distro.get_distro_info().name
to_keep = []
for package_info in packages.values():
@@ -176,7 +176,7 @@ def check(remove=False, update=False, test=False, interactive=True,
package_manager = \
distro.get_package_manager(test=test, interactive=interactive)
- distro_name = distro.get_distro_name()
+ distro_name = distro.get_distro_info().name
packages = config.load_packages()
checks = config.load_prerequisites()