aboutsummaryrefslogtreecommitdiff
path: root/adu-upgrade
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2022-03-16 15:35:45 +0000
committerAdam Spragg <adam@spra.gg>2022-03-16 15:35:45 +0000
commite0f03f2b2a83c2f0f32033fd11e652ee982e1a7c (patch)
tree24967054209750aa58c8cf997b49852f0eb143c9 /adu-upgrade
parent4c4291d40daf4eb235faf89c7832f6c389607ce8 (diff)
Pass `--with-new-pkgs` to `apt-get upgrade`
To allow for kernel upgrades, which install new packages. Also, make the way we pass options to `apt-get upgrade` more consistent between calls. Notably, put all options before the command, as indicated by the apt-get(1) man page.
Diffstat (limited to 'adu-upgrade')
-rwxr-xr-xadu-upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/adu-upgrade b/adu-upgrade
index 81f6e90..5bcef27 100755
--- a/adu-upgrade
+++ b/adu-upgrade
@@ -42,7 +42,7 @@ if [ "$upgrades" -eq 0 ]; then
fi
# Do the update
-apt-get upgrade -y --no-download --ignore-missing
+apt-get -q -y --with-new-pkgs --no-download --ignore-missing upgrade
# man:systemd.offline-updates(7):
# "The update service should now do its job. [...] After completion