drive-ops/global/post-tasks.d/099autoremove

9 lines
142 B
Plaintext
Raw Normal View History

#!/bin/bash
export DEBIAN_FRONTEND='noninteractive'
2013-09-02 14:01:50 +00:00
if (( $RANDOM % 20 == 0)); then
apt-get -qq update
apt-get -qq -y autoremove
fi