summaryrefslogtreecommitdiff
path: root/global/post-tasks.d/099autoremove
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-07-28 16:18:22 +0200
committerLinus Nordberg <linus@nordu.net>2017-07-28 16:18:22 +0200
commit47a968085005c10feb2bbb7cd05610a4ae33cb77 (patch)
tree72c7c9f216294cb0eb4efcd39f39bfe9b0fa8806 /global/post-tasks.d/099autoremove
parenteb35f2b362452dab12ffc67c7aa2e81755b1e222 (diff)
Update global/pre-tasks.d/ and global/post-tasks.d/ from nunoc-ops.
Diffstat (limited to 'global/post-tasks.d/099autoremove')
-rwxr-xr-xglobal/post-tasks.d/099autoremove6
1 files changed, 2 insertions, 4 deletions
diff --git a/global/post-tasks.d/099autoremove b/global/post-tasks.d/099autoremove
index 74b0aa4..2cc6996 100755
--- a/global/post-tasks.d/099autoremove
+++ b/global/post-tasks.d/099autoremove
@@ -1,6 +1,4 @@
#!/bin/sh
-if (( $RANDOM % 20 == 0)); then
- apt-get -qq update
- apt-get -qq -y autoremove
-fi
+apt-get -qq update
+apt-get -qq -y autoremove