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.
This commit is contained in:
Marco Gallegos
2025-11-14 20:22:41 -06:00
parent f2e3fde219
commit c359022f19

View File

@@ -38,7 +38,7 @@ run_module_main() {
yt-dlp yt-dlp
) )
local PACMAN_NETWORK=( local PACMAN_NETWORK=(
filezilla telegram-desktop scrcpy filezilla telegram-desktop scrcpy speedtest-cli
) )
local PACMAN_INTEL_GFX=( local PACMAN_INTEL_GFX=(
mesa vulkan-intel lib32-mesa lib32-vulkan-intel mesa vulkan-intel lib32-mesa lib32-vulkan-intel
@@ -54,6 +54,12 @@ run_module_main() {
"logiops" "ltunify" "teamviewer" "intel-compute-runtime" "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..." log_info "Instalando herramientas base..."
sudo pacman -S --noconfirm --needed "${PACMAN_BASE[@]}" || { sudo pacman -S --noconfirm --needed "${PACMAN_BASE[@]}" || {
log_error "Error al instalar herramientas base" log_error "Error al instalar herramientas base"