aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2022-03-16 17:03:08 +0000
committerAdam Spragg <adam@spra.gg>2022-03-16 17:03:08 +0000
commitf306054c40bd31cb856287126ee484e84dc1b30e (patch)
tree68da2c484fcbf27801d4df8ee8267ec4b4f7cac9
parentc7d2be77561548f5d4a7473970e278285b700038 (diff)
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.
-rwxr-xr-xadu-download2
1 files changed, 1 insertions, 1 deletions
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"