From c359022f197e5b686a9979bb11a8fe9145ce672c Mon Sep 17 00:00:00 2001 From: Marco Gallegos Date: Fri, 14 Nov 2025 20:22:41 -0600 Subject: [PATCH] Add speedtest-cli to installation list and implement system update check - Added speedtest-cli to the list of applications installed via pacman. - Included a system update command to prevent dependency conflicts, with error handling for update failures. --- modules/apps.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/apps.sh b/modules/apps.sh index 61d65a0..77ffd96 100755 --- a/modules/apps.sh +++ b/modules/apps.sh @@ -38,7 +38,7 @@ run_module_main() { yt-dlp ) local PACMAN_NETWORK=( - filezilla telegram-desktop scrcpy + filezilla telegram-desktop scrcpy speedtest-cli ) local PACMAN_INTEL_GFX=( mesa vulkan-intel lib32-mesa lib32-vulkan-intel @@ -54,6 +54,12 @@ run_module_main() { "logiops" "ltunify" "teamviewer" "intel-compute-runtime" ) + log_info "Actualizando el sistema para evitar conflictos de dependencias..." + sudo pacman -Syu --noconfirm || { + log_warning "No se pudo completar la actualización del sistema. Pueden ocurrir errores de dependencias." + # Continuamos de todos modos, pero con una advertencia. + } + log_info "Instalando herramientas base..." sudo pacman -S --noconfirm --needed "${PACMAN_BASE[@]}" || { log_error "Error al instalar herramientas base"