Skip confirmation in termux upgrade
This commit is contained in:
parent
923a1c7340
commit
ceb50baf83
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ update() {
|
|||
{%@@ elif distro_id == "ubuntu" @@%}
|
||||
doas apt update && doas apt full-upgrade -y && doas apt autoremove -y && doas apt autoclean -y
|
||||
{%@@ elif distro_id == "termux" @@%}
|
||||
pkg update && pkg upgrade
|
||||
pkg update && pkg upgrade --yes
|
||||
{%@@ endif @@%}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue