diff options
| author | Linus Nordberg <linus@nordu.net> | 2017-07-28 15:14:03 +0200 |
|---|---|---|
| committer | Linus Nordberg <linus@nordu.net> | 2017-07-28 15:14:03 +0200 |
| commit | 4223da5ae4d440774e350a8489b7d4bd0fe38c11 (patch) | |
| tree | abf75b36f7b066f8dcf674fc8decb473c1585d15 /global/post-tasks.d/099autoremove | |
| parent | 883c92a407ad1db7925eec9bab483b06d12aa5a7 (diff) | |
Update from sunet/multiverse.ct-ops-2017-07-28-v01
Diffstat (limited to 'global/post-tasks.d/099autoremove')
| -rwxr-xr-x | global/post-tasks.d/099autoremove | 6 |
1 files changed, 4 insertions, 2 deletions
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 |
