Skip to content
Snippets Groups Projects
Commit 287072dc authored by Ethan Robert's avatar Ethan Robert
Browse files

Fixed error in install-unix.sh

parent 6cdc8bfb
No related branches found
No related tags found
No related merge requests found
Pipeline #60092 failed
...@@ -7,24 +7,24 @@ echo "Installing Graphviz..." ...@@ -7,24 +7,24 @@ echo "Installing Graphviz..."
if [[ "$OSTYPE" == "darwin"* ]]; then if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS # macOS
brew install graphviz wget brew install graphviz curl
elif [[ -f /etc/debian_version ]]; then elif [[ -f /etc/debian_version ]]; then
# Debian/Ubuntu # Debian/Ubuntu
sudo apt update sudo apt update
sudo apt install -y graphviz wget unzip sudo sudo apt install -y graphviz curl unzip sudo
elif [[ -f /etc/arch-release ]]; then elif [[ -f /etc/arch-release ]]; then
# Arch # Arch
sudo pacman -Syu --noconfirm graphviz wget unzip sudo sudo pacman -Syu --noconfirm graphviz curl unzip sudo
elif [[ -f /etc/fedora-release ]]; then elif [[ -f /etc/fedora-release ]]; then
# Fedora # Fedora
sudo dnf install -y graphviz wget unzip sudo sudo dnf install -y graphviz curl unzip sudo
else else
echo "Unsupported OS" echo "Unsupported OS"
exit 1 exit 1
fi fi
echo "Getting the latest version of Grapp..." echo "Getting the latest version of Grapp..."
wget https://gitlab.univ-lille.fr/iovka.boneva/grapp/-/raw/master/binaries/Grapp.zip?ref_type=heads&inline=false curl https://gitlab.univ-lille.fr/iovka.boneva/grapp/-/raw/master/binaries/Grapp.zip?ref_type=heads&inline=false > Grapp.zip
echo "Extracting Grapp.zip..." echo "Extracting Grapp.zip..."
unzip Grapp.zip unzip Grapp.zip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment