From 76aaf0180c9ee84517971e2d75a0b847bc018105 Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Thu, 31 Jul 2025 21:10:44 -0300 Subject: [PATCH] lol --- scripts-download.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts-download.sh b/scripts-download.sh index 51b803f..615c8fd 100644 --- a/scripts-download.sh +++ b/scripts-download.sh @@ -130,7 +130,8 @@ verify_packages() { readarray -t missing_packages < <(get_missing_packages) if [[ ${#missing_packages[@]} -gt 0 ]]; then - die "Failed to install required packages: ${missing_packages[*]}" + log_error "Failed to install required packages: ${missing_packages[*]}" + die "Please install the missing packages manually and try again" fi log_success "All required packages are available" @@ -270,6 +271,8 @@ main() { if [[ ${#missing_packages[@]} -gt 0 ]]; then log_warning "Missing packages detected: ${missing_packages[*]}" install_packages "$detected_os" "${missing_packages[@]}" + else + log_success "All required packages are already installed" fi verify_packages