slimming down the installer

This commit is contained in:
KKudryavtsev 2016-02-04 23:03:56 +00:00
parent 4653355241
commit 9a71f684d4
2 changed files with 2 additions and 34 deletions

View File

@ -385,7 +385,6 @@ function run_installer()
find_gcc find_gcc
find_apt find_apt
find_docker
} }
function find_rocksdb() function find_rocksdb()
@ -519,22 +518,6 @@ function run_installer()
fi 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() function ubuntu1404_rocksdb_installer()
{ {

View File

@ -195,12 +195,8 @@ function run_installer()
git submodule init git submodule init
git submodule update git submodule update
info "Building & testing Parity..." info "Building Parity..."
cargo test --release -p ethcore-util cargo build --release
info "Running consensus tests..."
git submodule update -i
cargo test --release --features ethcore/json-tests -p ethcore
echo echo
info "Parity source code is in $(pwd)/parity" info "Parity source code is in $(pwd)/parity"
@ -297,16 +293,6 @@ EOL
fi fi
} }
function verify_installation()
{
info "Verifying installation"
find_eth
if [[ $isEth == false ]]
then
abortInstall
fi
}
function abortInstall() function abortInstall()
{ {
@ -340,7 +326,6 @@ EOL
fi fi
install install
verify_installation
if [[ $OS_TYPE == "linux" ]] if [[ $OS_TYPE == "linux" ]]
then then