update pia-install to use libre-soc-install.sh
[dev-env-setup.git] / pia-install
index 86e9d361dbba6eae2bf0dfe5669199a1ab331816..5e8ee78d1087e7b9e6525d200468bb39f9854cd7 100755 (executable)
@@ -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