annotate bin/ubuntu_updated.sh @ 518:4e2d8a7eb188

http://c2.com/cgi/wiki?FizzBuzzTest
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 19 Sep 2013 16:04:50 -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