diff --git a/install-unix.sh b/install-unix.sh index ad1c7d64c94e0e109b9cafce04801ec877eecf14..243ab02c82dc20a93cdefc991f0b3313f674a391 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