From 5938b6509752998630ff8422a024daf38c7cb340 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 9 Feb 2016 12:24:36 +0100 Subject: [PATCH] Additional help at he end of the install; no need to install sudo. --- install-parity.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/install-parity.sh b/install-parity.sh index 02093ca8c..60d3471d5 100755 --- a/install-parity.sh +++ b/install-parity.sh @@ -397,13 +397,12 @@ function run_installer() function linux_deps_installer() { - sudo apt-get update -qq - - if [[ $isSudo == false ]]; then - info "Installing sudo..." - apt-get install -q -y sudo + if [[ $isRocksDB == false || $isCurl == false ]]; then + info "Preparing apt..." + sudo apt-get update -qq echo fi + if [[ $isRocksDB == false ]]; then info "Installing rocksdb..." @@ -415,6 +414,7 @@ function run_installer() echo fi + if [[ $isCurl == false ]]; then info "Installing curl..." sudo apt-get install -q -y curl @@ -561,8 +561,8 @@ EOL { echo successHeading "All done" - # head "Next steps" - # info "Run ${cyan}\`\`${reset} to get started.${reset}" + head "Next steps" + info "Run ${cyan}\`parity -j\`${reset} to start the Parity Ethereum client.${reset}" echo exit 0 }