Mercurial > hg > config
view bin/ubuntu_updated.sh @ 845:70ae14b6be51
[sync] ~/k0s is no longer in PATH as it corrupts PYTHONPATH
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 17 Aug 2017 09:48:49 -0700 |
parents | 570ace9ed7c2 |
children |
line wrap: on
line source
#!/bin/bash set -e # script to update ubuntu # Ref: # http://mixeduperic.com/ubuntu/how-to-keep-your-ubuntu-server-updated-with-patches-and-security-fixes-using-the-command-line if sudo apt-get update -y then # -s = dry run # sudo apt-get -u -s -y upgrade sudo apt-get -u -y upgrade # TODO: sudo apt-get -u -s dist-upgrade fi # cleanup sudo apt -y autoremove