silence apk update

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

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
}