rut-test-ops/global/post-tasks.d/099autoremove

7 lines
99 B
Bash
Executable file

#!/bin/sh
if (( $RANDOM % 20 == 0)); then
apt-get -qq update
apt-get -qq -y autoremove
fi