From 6e6203c9017e0471070fcd1f606b37f87d723ac6 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 24 Aug 2021 17:18:52 -0700 Subject: [PATCH] update pia-install to use libre-soc-install.sh --- pia-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2