From 85406e5cc356d96ca90a8125b81d6a6657545ec0 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 24 Aug 2021 17:10:17 -0700 Subject: [PATCH] update pia-install to use libre-soc-install.sh --- pia-install | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pia-install b/pia-install index 7ed6147..86e9d36 100755 --- a/pia-install +++ b/pia-install @@ -1,14 +1,11 @@ #!/bin/bash -if ! command -v rustup &> /dev/null -then - echo -e "Rustup could not be found, it can be installed by running the following command: curl --proto \047=https\047 --tlsv1.2 -sSf https://sh.rustup.rs | sh" - exit +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" + exit 1 fi -cd /home/$USER/src +cd ~/src rustup default stable rustup update -cargo install maturin git clone https://salsa.debian.org/Kazan-team/power-instruction-analyzer.git pia cd pia -maturin build --cargo-extra-args=--features=python-extension -python3 -m pip install --user target/wheels/*.whl +exec ./libre-soc-install.sh -- 2.30.2