From: Jacob Lifshay Date: Wed, 25 Aug 2021 00:18:52 +0000 (-0700) Subject: update pia-install to use libre-soc-install.sh X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e6203c9017e0471070fcd1f606b37f87d723ac6;p=dev-env-setup.git update pia-install to use libre-soc-install.sh --- diff --git a/pia-install b/pia-install index 86e9d36..5e8ee78 100755 --- a/pia-install +++ b/pia-install @@ -1,6 +1,7 @@ #!/bin/bash +set -e if ! command -v rustup &> /dev/null; then - echo "Rustup could not be found, it can be installed by running the following command: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" + echo "Rustup could not be found, it can be installed by running the following command: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" >& 2 exit 1 fi cd ~/src