From 7154d755c1246f33eab1bdfb77d272b4234be291 Mon Sep 17 00:00:00 2001 From: Stephan Oeste Date: Wed, 6 Jul 2022 11:46:46 +0200 Subject: [PATCH] Disable confirmation prompt for rust install in prod install script --- production/install | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/production/install b/production/install index 9f2533c61..ddb4f2a5d 100755 --- a/production/install +++ b/production/install @@ -1048,7 +1048,7 @@ case $OS in ;; Debian) echo "[*] Installing Rust from rustup.rs" - osSudo "${BITCOIN_USER}" sh -c "cd ${BITCOIN_ELECTRS_HOME} && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" + osSudo "${BITCOIN_USER}" sh -c "cd ${BITCOIN_ELECTRS_HOME} && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y" ;; esac @@ -1095,15 +1095,6 @@ echo "[*] Cloning Liquid Asset Registry testnet repo from ${LIQUIDTESTNET_ASSET_ osSudo "${ELEMENTS_USER}" git config --global advice.detachedHead false osSudo "${ELEMENTS_USER}" git clone "${LIQUIDTESTNET_ASSET_REGISTRY_DB_URL}" "${ELEMENTS_HOME}/${LIQUIDTESTNET_ASSET_REGISTRY_DB_NAME}" -case $OS in - FreeBSD) - ;; - Debian) - echo "[*] Installing Rust from rustup.rs" - osSudo "${BITCOIN_USER}" sh -c "cd ${BITCOIN_ELECTRS_HOME} && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" - ;; -esac - echo "[*] Building Liquid Electrs release binary" osSudo "${ELEMENTS_USER}" sh -c "cd ${ELEMENTS_ELECTRS_HOME} && cargo run --release --features liquid --bin electrs -- --network liquid --version" || true