Additional help at he end of the install; no need to install sudo.

This commit is contained in:
Gav Wood 2016-02-09 12:24:36 +01:00
parent ffadbf1d10
commit 5938b65097

View File

@ -397,13 +397,12 @@ function run_installer()
function linux_deps_installer() function linux_deps_installer()
{ {
sudo apt-get update -qq if [[ $isRocksDB == false || $isCurl == false ]]; then
info "Preparing apt..."
if [[ $isSudo == false ]]; then sudo apt-get update -qq
info "Installing sudo..."
apt-get install -q -y sudo
echo echo
fi fi
if [[ $isRocksDB == false ]]; then if [[ $isRocksDB == false ]]; then
info "Installing rocksdb..." info "Installing rocksdb..."
@ -415,6 +414,7 @@ function run_installer()
echo echo
fi fi
if [[ $isCurl == false ]]; then if [[ $isCurl == false ]]; then
info "Installing curl..." info "Installing curl..."
sudo apt-get install -q -y curl sudo apt-get install -q -y curl
@ -561,8 +561,8 @@ EOL
{ {
echo echo
successHeading "All done" successHeading "All done"
# head "Next steps" head "Next steps"
# info "Run ${cyan}\`\`${reset} to get started.${reset}" info "Run ${cyan}\`parity -j\`${reset} to start the Parity Ethereum client.${reset}"
echo echo
exit 0 exit 0
} }