annotate bin/ubuntu_updated.sh @ 521:c4432bd3cb9b

wip
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 21 Sep 2013 14:31:04 -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