#!/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" >& 2 exit 1 fi cd ~/src rustup default stable rustup update git clone https://salsa.debian.org/Kazan-team/power-instruction-analyzer.git pia cd pia exec ./libre-soc-install.sh