From e0f03f2b2a83c2f0f32033fd11e652ee982e1a7c Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Wed, 16 Mar 2022 15:35:45 +0000 Subject: 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. --- adu-download | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adu-download') diff --git a/adu-download b/adu-download index ba021f7..987efa6 100755 --- a/adu-download +++ b/adu-download @@ -32,7 +32,7 @@ if [ "$upgrades" -eq 0 ]; then exit 0 fi -apt-get -qq upgrade -d +apt-get -q -y --with-new-pkgs --download-only upgrade ln -s -- "${UPDATE_TARGET}" "${UPDATE_SYMLINK}" 2>/dev/null || true echo "$upgrades updates available" -- cgit v1.2.1