slimming down the installer
This commit is contained in:
parent
4653355241
commit
9a71f684d4
@ -385,7 +385,6 @@ function run_installer()
|
||||
find_gcc
|
||||
|
||||
find_apt
|
||||
find_docker
|
||||
}
|
||||
|
||||
function find_rocksdb()
|
||||
@ -519,22 +518,6 @@ function run_installer()
|
||||
fi
|
||||
}
|
||||
|
||||
function find_docker()
|
||||
{
|
||||
depCount=$((depCount+1))
|
||||
DOCKER_PATH=`which docker 2>/dev/null`
|
||||
|
||||
if [[ -f $DOCKER_PATH ]]
|
||||
then
|
||||
depFound=$((depFound+1))
|
||||
check "docker"
|
||||
echo "$($DOCKER_PATH -v)"
|
||||
isDocker=true
|
||||
else
|
||||
isDocker=false
|
||||
uncheck "docker is missing"
|
||||
fi
|
||||
}
|
||||
|
||||
function ubuntu1404_rocksdb_installer()
|
||||
{
|
||||
|
@ -195,12 +195,8 @@ function run_installer()
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
info "Building & testing Parity..."
|
||||
cargo test --release -p ethcore-util
|
||||
|
||||
info "Running consensus tests..."
|
||||
git submodule update -i
|
||||
cargo test --release --features ethcore/json-tests -p ethcore
|
||||
info "Building Parity..."
|
||||
cargo build --release
|
||||
|
||||
echo
|
||||
info "Parity source code is in $(pwd)/parity"
|
||||
@ -297,16 +293,6 @@ EOL
|
||||
fi
|
||||
}
|
||||
|
||||
function verify_installation()
|
||||
{
|
||||
info "Verifying installation"
|
||||
find_eth
|
||||
|
||||
if [[ $isEth == false ]]
|
||||
then
|
||||
abortInstall
|
||||
fi
|
||||
}
|
||||
|
||||
function abortInstall()
|
||||
{
|
||||
@ -340,7 +326,6 @@ EOL
|
||||
fi
|
||||
|
||||
install
|
||||
verify_installation
|
||||
|
||||
if [[ $OS_TYPE == "linux" ]]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user