From 3eb2b442f3e87db502b3b096abed46531b79cdf0 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Sat, 17 Nov 2012 19:41:34 +0000 Subject: Run the ubuntu tweaks only on ubuntu --- diff --git a/commands/check-system b/commands/check-system index 0b77180..de7eb71 100755 --- a/commands/check-system +++ b/commands/check-system @@ -5,6 +5,8 @@ import argparse import common from devbot import system +from devbot import config +from devbot import distro common.setup() @@ -27,6 +29,7 @@ def apply_ubuntu_tweaks(): command.run_with_sudo([ubuntu_tweaks]) -apply_ubuntu_tweaks() +if distro.get_distro_name() == "ubuntu": + apply_ubuntu_tweaks() system.check(update=args.update, remove=args.remove, test=args.test) -- cgit v0.9.1