Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save heyman/516f1ccdd89ddac268545f96a203b6f8 to your computer and use it in GitHub Desktop.
Save heyman/516f1ccdd89ddac268545f96a203b6f8 to your computer and use it in GitHub Desktop.
#!/bin/bash
touch /tmp/Recent.xyz
while true
do
echo "Checking again..."
wget -q https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/binary-amd64/InRelease -O /tmp/InRelease.xyz
if test /tmp/InRelease.xyz -nt Recent.xyz; then
say Docker timestamp updated!
fi
sleep 5;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment