From 4223da5ae4d440774e350a8489b7d4bd0fe38c11 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 28 Jul 2017 15:14:03 +0200 Subject: Update from sunet/multiverse. --- global/post-tasks.d/099autoremove | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'global/post-tasks.d/099autoremove') diff --git a/global/post-tasks.d/099autoremove b/global/post-tasks.d/099autoremove index 2cc6996..74b0aa4 100755 --- a/global/post-tasks.d/099autoremove +++ b/global/post-tasks.d/099autoremove @@ -1,4 +1,6 @@ #!/bin/sh -apt-get -qq update -apt-get -qq -y autoremove +if (( $RANDOM % 20 == 0)); then + apt-get -qq update + apt-get -qq -y autoremove +fi -- cgit v1.1