summaryrefslogtreecommitdiff
path: root/global/post-tasks.d/099autoremove
diff options
context:
space:
mode:
Diffstat (limited to 'global/post-tasks.d/099autoremove')
-rwxr-xr-xglobal/post-tasks.d/099autoremove6
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