From 55199044cca52f543e5eb255146c1264188389fc Mon Sep 17 00:00:00 2001 From: Jasper Date: Tue, 4 Feb 2025 08:35:23 +0100 Subject: [PATCH] Update aiscatcher-install --- scripts/aiscatcher-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/aiscatcher-install b/scripts/aiscatcher-install index ddd7e8ea1c..1b1929b0f5 100755 --- a/scripts/aiscatcher-install +++ b/scripts/aiscatcher-install @@ -224,7 +224,7 @@ download_webassets() { local temp_zip="/tmp/webassets.zip" log "INFO" "Downloading webassets" - if curl -s "$webassets_url" -o "$temp_zip"; then + if curl -sL "$webassets_url" -o "$temp_zip"; then if [[ -d "$CONFIG_DIR/webassets" ]]; then log "INFO" "Removing old webassets" sudo rm -rf "$CONFIG_DIR/webassets" @@ -293,7 +293,7 @@ install_from_package() { # Download the package log "INFO" "Downloading package..." - if ! curl -s -o "$temp_dir/$(basename "$download_url")" "$download_url"; then + if ! curl -sL -o "$temp_dir/$(basename "$download_url")" "$download_url"; then error_exit "Failed to download package" fi