Update install_proxmenux.sh

This commit is contained in:
MacRimi 2025-01-12 17:08:33 +01:00 committed by GitHub
parent c041e4b476
commit 9fcabdf46f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,6 +31,17 @@ if ! command -v whiptail &> /dev/null; then
fi fi
fi fi
if ! command -v curl &> /dev/null; then
msg_info "Instalando curl..."
if apt-get update && apt-get install -y curl; then
msg_ok "curl instalado correctamente."
else
msg_error "Error al instalar curl. Por favor, instálalo manualmente."
exit 1
fi
fi
# Crear las carpetas necesarias # Crear las carpetas necesarias
msg_info "Creando carpetas necesarias..." msg_info "Creando carpetas necesarias..."
mkdir -p "$LANG_DIR" mkdir -p "$LANG_DIR"