X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=scripts%2Fsystem%2Fnaive_system_updater.sh;h=7be9d658f0a71426f00040af37be3f81652a702d;hp=cf9cbf898228ec2908c65cef9673fd5ce8aa4232;hb=5d4046f0dd4f4281e7a898b9595d2f3ff800152d;hpb=d5df8bcf79c917354f34b44d5d4658653e9cefda diff --git a/scripts/system/naive_system_updater.sh b/scripts/system/naive_system_updater.sh index cf9cbf89..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 -exit_on_error "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\"; \ " -exit_on_error "problem while doing 'apt-get dist-upgrade'" +exit_on_error "problem while doing 'apt dist-upgrade'"