Fix setup on docker 14.04 instances.
This commit is contained in:
parent
de6cc18660
commit
5202185bf8
@ -386,7 +386,6 @@ function run_installer()
|
|||||||
if [[ $(ldconfig -v 2>/dev/null | grep rocksdb | wc -l) == 1 ]]; then
|
if [[ $(ldconfig -v 2>/dev/null | grep rocksdb | wc -l) == 1 ]]; then
|
||||||
depFound=$((depFound+1))
|
depFound=$((depFound+1))
|
||||||
check "apt-get"
|
check "apt-get"
|
||||||
echo "$($APT_PATH -v)"
|
|
||||||
isRocksDB=true
|
isRocksDB=true
|
||||||
else
|
else
|
||||||
uncheck "librocksdb is missing"
|
uncheck "librocksdb is missing"
|
||||||
@ -431,7 +430,6 @@ function run_installer()
|
|||||||
then
|
then
|
||||||
depFound=$((depFound+1))
|
depFound=$((depFound+1))
|
||||||
check "apt-get"
|
check "apt-get"
|
||||||
echo "$($APT_PATH -v)"
|
|
||||||
isApt=true
|
isApt=true
|
||||||
else
|
else
|
||||||
uncheck "apt-get is missing"
|
uncheck "apt-get is missing"
|
||||||
@ -499,7 +497,7 @@ function run_installer()
|
|||||||
function find_curl()
|
function find_curl()
|
||||||
{
|
{
|
||||||
depCount=$((depCount+1))
|
depCount=$((depCount+1))
|
||||||
MAKE_PATH=`which curl 2>/dev/null`
|
CURL_PATH=`which curl 2>/dev/null`
|
||||||
|
|
||||||
if [[ -f $CURL_PATH ]]
|
if [[ -f $CURL_PATH ]]
|
||||||
then
|
then
|
||||||
@ -515,10 +513,12 @@ function run_installer()
|
|||||||
|
|
||||||
function ubuntu1404_rocksdb_installer()
|
function ubuntu1404_rocksdb_installer()
|
||||||
{
|
{
|
||||||
sudo add-apt-repository -y ppa:giskou/librocksdb
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -qq -y software-properties-common
|
||||||
|
sudo apt-add-repository -y ppa:giskou/librocksdb
|
||||||
sudo apt-get -f -y install
|
sudo apt-get -f -y install
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -y librocksdb
|
sudo apt-get install -qq -y librocksdb
|
||||||
}
|
}
|
||||||
|
|
||||||
function linux_rocksdb_installer()
|
function linux_rocksdb_installer()
|
||||||
|
Loading…
Reference in New Issue
Block a user