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_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()
{

View File

@ -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