diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-17 19:41:34 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-17 19:41:34 (GMT) |
commit | 3eb2b442f3e87db502b3b096abed46531b79cdf0 (patch) | |
tree | fb32d1f9f0f360def03e1b7e51c2773914fc4fe7 /commands | |
parent | 827ba3c74eaabb1749e2af4a59fbc6c07c978fe7 (diff) |
Run the ubuntu tweaks only on ubuntu
Diffstat (limited to 'commands')
-rwxr-xr-x | commands/check-system | 5 |
1 files changed, 4 insertions, 1 deletions
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) |