Skip confirmation in termux upgrade
This commit is contained in:
parent
0a8d079bb7
commit
682bd9b3bc
|
@ -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…
Reference in a new issue