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

9 lines
142 B
Bash
Executable file

#!/bin/bash
export DEBIAN_FRONTEND='noninteractive'
if (( $RANDOM % 20 == 0)); then
apt-get -qq update
apt-get -qq -y autoremove
fi