annotate bin/ubuntu_updated.sh @ 492:25e92f9cf011

bin/budget.sh
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 11 Aug 2013 04:03:13 -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