silence apk update

This commit is contained in:
Dustin Kirkland 2024-01-02 19:10:18 -06:00
parent 5e3944666c
commit 18467fff88
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View file

@ -2,8 +2,10 @@ byobu (6.3) jammy; urgency=medium
* usr/bin/byobu-janitor.in, usr/share/byobu/status/status:
- within Wolfi, default to our 2nd status line
* usr/lib/byobu/updates_available:
- silence apk update
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 02 Jan 2024 19:08:20 -0600
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 02 Jan 2024 19:09:57 -0600
byobu (6.2) released; urgency=medium

View file

@ -83,7 +83,7 @@ ___update_cache() {
fi
elif eval $BYOBU_TEST apk >/dev/null; then
# Wolfi updates are cheap (~1s); so update cache every time
apk update
apk update 2>&1 >/dev/null
apk upgrade --simulate | grep -c " Upgrading " >$mycache 2>/dev/null &
fi
}