update pia-install to use libre-soc-install.sh
[dev-env-setup.git] / pia-install
1 #!/bin/bash
2 set -e
3 if ! command -v rustup &> /dev/null; then
4 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
5 exit 1
6 fi
7 cd ~/src
8 rustup default stable
9 rustup update
10 git clone https://salsa.debian.org/Kazan-team/power-instruction-analyzer.git pia
11 cd pia
12 exec ./libre-soc-install.sh