Skip to content

Commit

Permalink
Update aiscatcher-install
Browse files Browse the repository at this point in the history
  • Loading branch information
jvde-github authored Feb 4, 2025
1 parent cfa559a commit 5519904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/aiscatcher-install
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 5519904

Please sign in to comment.