From f306054c40bd31cb856287126ee484e84dc1b30e Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Wed, 16 Mar 2022 17:03:08 +0000 Subject: Cut down on log spam while downloading updates Don't care about the "Reading package lists..." and other interactive fripperies, or the list of packages no longer required, or the full list of packages to be upgraded, every time we just want to download new updates. But logging the actual downloads is kinda useful, so keep those. --- adu-download | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adu-download') diff --git a/adu-download b/adu-download index 987efa6..7c9a08c 100755 --- a/adu-download +++ b/adu-download @@ -32,7 +32,7 @@ if [ "$upgrades" -eq 0 ]; then exit 0 fi -apt-get -q -y --with-new-pkgs --download-only upgrade +apt-get -q -y --with-new-pkgs --download-only upgrade | grep "^Get:" ln -s -- "${UPDATE_TARGET}" "${UPDATE_SYMLINK}" 2>/dev/null || true echo "$upgrades updates available" -- cgit v1.2.1