termux: update and upgrade non-interactively when using script

This commit is contained in:
Nico 2025-05-03 16:16:03 +10:00
parent 6f69146a0a
commit c340b2091b

View file

@ -14,8 +14,8 @@ update_packages() {
# pkg (termux)
if which pkg > /dev/null; then
echo "pkg detected, updating..."
pkg update
pkg upgrade
pkg update -y
pkg upgrade -y
fi
# nix flake