Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/check-system
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-26 00:22:01 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-26 00:22:01 (GMT)
commit9c6636a761d2bc627e744e6b0efc45cc7672c485 (patch)
tree9140286204564cc901ef645caeac3155e0fd2b19 /commands/check-system
parent15980e294fcb70ce8e04efb198b26f66c4241ecb (diff)
On run check the system only if something changed
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 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)