annotate bin/ubuntu_updated.sh @ 794:e059c4e85d9f

add docker cleanup helper
author Jeff Hammel <k0scist@gmail.com>
date Wed, 19 Oct 2016 09:04:34 -0700
parents 2e33cd82af58
children 570ace9ed7c2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
364
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 #!/bin/bash
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 # script to see if ubuntu is up to date
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 # -s = dry run
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 if apt-get update -y
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 then
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 apt-get -u -s upgrade
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 fi