X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Fnaive_system_updater.sh;h=7be9d658f0a71426f00040af37be3f81652a702d;hb=24cc3eb21befb743dfebaea4048e7082bb14a740;hp=7790fe884fe87a03602939d89a10c29aebf0306b;hpb=1e4b71c65c6a4e73fbe4d12fb1b8aabcd447df57;p=feisty_meow.git diff --git a/scripts/system/naive_system_updater.sh b/scripts/system/naive_system_updater.sh index 7790fe88..7be9d658 100644 --- a/scripts/system/naive_system_updater.sh +++ b/scripts/system/naive_system_updater.sh @@ -1,15 +1,15 @@ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" -sudo apt-get update -y -test_or_die "problem while doing 'apt-get update'" +sudo apt update -y +exit_on_error "problem while doing 'apt update'" # newest magic to tell dpkg to go with existing config files and force non-interactive version. sudo bash -c "\ export DEBIAN_FRONTEND=noninteractive; \ - apt-get dist-upgrade -y -o Dpkg::Options::=\"--force-confdef\" \ + apt dist-upgrade -y -o Dpkg::Options::=\"--force-confdef\" \ -o Dpkg::Options::=\"--force-confold\"; \ " -test_or_die "problem while doing 'apt-get dist-upgrade'" +exit_on_error "problem while doing 'apt dist-upgrade'"