X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Fnaive_system_updater.sh;h=7be9d658f0a71426f00040af37be3f81652a702d;hb=d97b497161e9fbf3ef59f970444ece2442adb069;hp=cf9cbf898228ec2908c65cef9673fd5ce8aa4232;hpb=79562d8c24ba1d79fb91ab22ca0d534bc77efac0;p=feisty_meow.git 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'"