termux: update and upgrade non-interactively when using script
This commit is contained in:
parent
6f69146a0a
commit
c340b2091b
1 changed files with 2 additions and 2 deletions
4
conf.sh
4
conf.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue