Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-17 19:41:34 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-17 19:41:34 (GMT)
commit3eb2b442f3e87db502b3b096abed46531b79cdf0 (patch)
treefb32d1f9f0f360def03e1b7e51c2773914fc4fe7 /commands
parent827ba3c74eaabb1749e2af4a59fbc6c07c978fe7 (diff)
Run the ubuntu tweaks only on ubuntu
Diffstat (limited to 'commands')
-rwxr-xr-xcommands/check-system5
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)