diff --git a/scripts/install_build_environment.sh b/scripts/install_build_environment.sh index 0dd33f068..bfbfa69fc 100755 --- a/scripts/install_build_environment.sh +++ b/scripts/install_build_environment.sh @@ -5,16 +5,16 @@ set -e if [ -n "`which opam`" ] then - if [ -n "`opam --version | grep -P "2\..\.."`" ] + if [ -n "`opam --version | grep -P "2\..\.."`" ] then - echo "Opam 2.x seems to already exist, exiting..." - exit 1 + echo "Opam 2.x seems to already exist, exiting..." + exit 1 else - read -p "This script will upgrade opam to the 2.x series, are you okay with that? (y/n)" choice1 - case "$choice1" in - y|Y ) : ;; - n|N ) exit ;; - esac + read -p "This script will upgrade opam to the 2.x series, are you okay with that? (y/n)" choice1 + case "$choice1" in + y|Y ) : ;; + n|N ) exit ;; + esac fi fi @@ -24,24 +24,22 @@ then sudo pacman -Sy --noconfirm \ make \ m4 \ - gcc \ patch \ bubblewrap \ rsync \ - curl + curl fi if [ -n "`uname -a | grep -i ubuntu`" ] then sudo apt-get install -y make \ m4 \ - gcc \ patch \ bubblewrap \ rsync \ - curl + curl fi - + if [ -n "`uname -a | grep -i ubuntu`" ] then echo "ubuntu" @@ -84,10 +82,8 @@ else echo "(If you actually get this message, you should probably file an issue)" echo "https://gitlab.com/ligolang/ligo/issues" exit 1 - fi + fi fi fi opam init -a --bare - -