From 509bfb5171a28ad20e509d701fa749e823be6bae Mon Sep 17 00:00:00 2001
From: Ethan Robert <ethan.rbrt90@gmail.com>
Date: Thu, 13 Mar 2025 14:38:00 +0100
Subject: [PATCH] Fixed error in install-unix.sh: background task for download
 link (bad syntax)

---
 install-unix.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/install-unix.sh b/install-unix.sh
index ad1c7d6..243ab02 100755
--- a/install-unix.sh
+++ b/install-unix.sh
@@ -7,24 +7,24 @@ echo "Installing Graphviz..."
 
 if [[ "$OSTYPE" == "darwin"* ]]; then
     # macOS
-    brew install graphviz curl
+    brew install graphviz wget
 elif [[ -f /etc/debian_version ]]; then
     # Debian/Ubuntu
     sudo apt update
-    sudo apt install -y graphviz curl unzip sudo
+    sudo apt install -y graphviz wget unzip sudo
 elif [[ -f /etc/arch-release ]]; then
     # Arch
-    sudo pacman -Syu --noconfirm graphviz curl unzip sudo
+    sudo pacman -Syu --noconfirm graphviz wget unzip sudo
 elif [[ -f /etc/fedora-release ]]; then
     # Fedora
-    sudo dnf install -y graphviz curl unzip sudo
+    sudo dnf install -y graphviz wget unzip sudo
 else
     echo "Unsupported OS"
     exit 1
 fi
 
 echo "Getting the latest version of Grapp..."
-curl https://gitlab.univ-lille.fr/iovka.boneva/grapp/-/raw/master/binaries/Grapp.zip?ref_type=heads&inline=false > Grapp.zip
+wget https://gitlab.univ-lille.fr/iovka.boneva/grapp/-/raw/master/binaries/Grapp.zip?ref_type=heads
 
 echo "Extracting Grapp.zip..."
 unzip Grapp.zip
-- 
GitLab