mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
silence apk update
This commit is contained in:
parent
5e3944666c
commit
18467fff88
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue