Skip confirmation in termux upgrade

This commit is contained in:
Marko Korhonen 2022-10-12 20:35:19 +03:00
parent 0a8d079bb7
commit 682bd9b3bc
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -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 @@%}
}