From 9c6636a761d2bc627e744e6b0efc45cc7672c485 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Mon, 26 Nov 2012 00:22:01 +0000 Subject: On run check the system only if something changed --- (limited to 'commands/check-system') diff --git a/commands/check-system b/commands/check-system index 6d14978..2f501c0 100755 --- a/commands/check-system +++ b/commands/check-system @@ -18,6 +18,8 @@ parser.add_argument("--remove", action="store_true", help="remove all the unnecessary packages") parser.add_argument("--test", action="store_true", help="don't add or remove packages, test only") +parser.add_argument("--skip-if-unchanged", action="store_true", + help="skip if unchanged from the last check") args = parser.parse_args() def apply_ubuntu_tweaks(): @@ -38,4 +40,5 @@ interactive = "SUGAR_BUILDBOT" not in os.environ system.check(update=args.update, remove=args.remove, test=args.test, - interactive=interactive) + interactive=interactive, + skip_if_unchanged=args.skip_if_unchanged) -- cgit v0.9.1