summaryrefslogtreecommitdiff
path: root/global/post-tasks.d/099autoremove
blob: 74b0aa4388034b0b50f2ee429ed1c9e29a7859a3 (plain)
1
2
3
4
5
6
#!/bin/sh

if (( $RANDOM % 20 == 0)); then
    apt-get -qq update
    apt-get -qq -y autoremove
fi