Skip to content

Commit

Permalink
silence apk update
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinkirkland committed Jan 3, 2024
1 parent 5e39446 commit 18467ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]> Tue, 02 Jan 2024 19:08:20 -0600
-- Dustin Kirkland <[email protected]> Tue, 02 Jan 2024 19:09:57 -0600

byobu (6.2) released; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion usr/lib/byobu/updates_available
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 18467ff

Please sign in to comment.