Do not run update and autoremove on all machines at the same time as seen in eduID
This commit is contained in:
parent
b81de45e77
commit
5fbd6f5b94
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
apt-get -qq update
|
if (( $RANDOM % 20 == 0)); then
|
||||||
apt-get -qq -y autoremove
|
apt-get -qq update
|
||||||
|
apt-get -qq -y autoremove
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue