Only check for repo updates on moria

This commit is contained in:
Marko Korhonen 2025-07-16 10:44:45 -05:00
parent 3433114f6a
commit 45b4111a61
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -195,7 +195,7 @@ update() {
packages() { packages() {
{%@@ if distro_id == "arch" @@%} {%@@ if distro_id == "arch" @@%}
paru -S{%@@ if profile != "Moria" @@%}y{%@@ endif @@%}u --noconfirm paru -S{%@@ if profile != "Moria" @@%}y{%@@ endif @@%}u{%@@ if profile == "Moria" @@%} --mode=repo{%@@ endif @@%} --noconfirm
{%@@ elif distro_id == "ubuntu" or distro_id == "debian" @@%} {%@@ elif distro_id == "ubuntu" or distro_id == "debian" @@%}
doas apt update && doas apt full-upgrade -y && doas apt autoremove -y && doas apt autoclean -y doas apt update && doas apt full-upgrade -y && doas apt autoremove -y && doas apt autoclean -y
{%@@ elif distro_id == "termux" @@%} {%@@ elif distro_id == "termux" @@%}