Skip to content

Commit

Permalink
links
Browse files Browse the repository at this point in the history
  • Loading branch information
weezy20 committed May 3, 2024
1 parent 54a23a1 commit 440791f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions crates/pop-cli/src/commands/install/mod.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
2 changes: 1 addition & 1 deletion crates/pop-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
12 changes: 6 additions & 6 deletions scripts/get_substrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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."
Expand All @@ -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
Expand All @@ -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

Expand All @@ -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"
echo "Run \`source ~/.cargo/env\` now to update environment"

0 comments on commit 440791f

Please sign in to comment.