Do not run update and autoremove on all machines at the same time as seen in eduID

This commit is contained in:
John Van de Meulebrouck Brendgard 2016-08-28 00:13:10 +02:00
parent b81de45e77
commit 5fbd6f5b94
No known key found for this signature in database
GPG key ID: 807A5FD4B3337B77

View file

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