cleaning old comments, promoted echo to event log
[feisty_meow.git] / scripts / system / naive_system_updater.sh
1
2 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
3
4 sudo apt-get update -y
5 exit_on_error "problem while doing 'apt-get update'"
6
7 # newest magic to tell dpkg to go with existing config files and force non-interactive version.
8 sudo bash -c "\
9   export DEBIAN_FRONTEND=noninteractive; \
10   apt-get dist-upgrade -y -o Dpkg::Options::=\"--force-confdef\" \
11      -o Dpkg::Options::=\"--force-confold\"; \
12 "
13 exit_on_error "problem while doing 'apt-get dist-upgrade'"
14
15