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)
|
# pkg (termux)
|
||||||
if which pkg > /dev/null; then
|
if which pkg > /dev/null; then
|
||||||
echo "pkg detected, updating..."
|
echo "pkg detected, updating..."
|
||||||
pkg update
|
pkg update -y
|
||||||
pkg upgrade
|
pkg upgrade -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# nix flake
|
# nix flake
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue