diff --git a/crates/pop-cli/src/commands/install/mod.rs b/crates/pop-cli/src/commands/install/mod.rs index d8b17171..5ca1cb0d 100644 --- a/crates/pop-cli/src/commands/install/mod.rs +++ b/crates/pop-cli/src/commands/install/mod.rs @@ -1,7 +1,5 @@ // SPDX-License-Identifier: GPL-3.0 -use std::process::Stdio; - use anyhow::Context; use clap::Args; use tokio::{fs, process::Command}; diff --git a/crates/pop-cli/src/main.rs b/crates/pop-cli/src/main.rs index cf750226..20587c75 100644 --- a/crates/pop-cli/src/main.rs +++ b/crates/pop-cli/src/main.rs @@ -36,7 +36,7 @@ enum Commands { #[clap(alias = "t")] #[cfg(feature = "contract")] Test(commands::test::TestArgs), - /// Install tools for Substrate development + /// Install prerequisites for Substrate development #[clap(alias = "i")] Install(commands::install::InstallArgs) } diff --git a/scripts/get_substrate.sh b/scripts/get_substrate.sh index b993aa59..38ef9f17 100644 --- a/scripts/get_substrate.sh +++ b/scripts/get_substrate.sh @@ -16,7 +16,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then elif [ -f /etc/SuSE-release ]; then echo "Suse Linux detected." echo "This OS is not supported with this script at present. Sorry." - echo "Please refer to https://github.com/paritytech/polkadot-sdk for setup information." + echo "Please refer to https://docs.substrate.io/install/ for setup information." exit 1 elif [ -f /etc/arch-release ]; then echo "Arch Linux detected." @@ -26,7 +26,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then elif [ -f /etc/mandrake-release ]; then echo "Mandrake Linux detected." echo "This OS is not supported with this script at present. Sorry." - echo "Please refer to https://github.com/paritytech/polkadot-sdk for setup information." + echo "Please refer to https://docs.substrate.io/install/ for setup information." exit 1 elif [ -f /etc/debian_version ]; then echo "Ubuntu/Debian Linux detected." @@ -35,7 +35,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then else echo "Unknown Linux distribution." echo "This OS is not supported with this script at present. Sorry." - echo "Please refer to https://github.com/paritytech/polkadot-sdk for setup information." + echo "Please refer to https://docs.substrate.io/install/ for setup information." exit 1 fi elif [[ "$OSTYPE" == "darwin"* ]]; then @@ -51,12 +51,12 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then elif [[ "$OSTYPE" == "freebsd"* ]]; then echo "FreeBSD detected." echo "This OS is not supported with this script at present. Sorry." - echo "Please refer to https://github.com/paritytech/polkadot-sdk for setup information." + echo "Please refer to https://docs.substrate.io/install/ for setup information." exit 1 else echo "Unknown operating system." echo "This OS is not supported with this script at present. Sorry." - echo "Please refer to https://github.com/paritytech/polkadot-sdk for setup information." + echo "Please refer to https://docs.substrate.io/install/ for setup information." exit 1 fi @@ -72,4 +72,4 @@ fi rustup update nightly rustup target add wasm32-unknown-unknown --toolchain nightly -echo "Run source ~/.cargo/env now to update environment" \ No newline at end of file +echo "Run \`source ~/.cargo/env\` now to update environment" \ No newline at end of file