Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/check-system
diff options
context:
space:
mode:
Diffstat (limited to 'commands/check-system')
-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)