forked from LBRYCommunity/lbry-sdk
add bdb
This commit is contained in:
parent
8fc1cbfc54
commit
8aab844a48
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,14 @@ if [ -d "$lbrycrd_directory" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! brew list berkeley-db4 &>/dev/null; then
|
||||||
|
echo "Installing berkeley-db4"
|
||||||
|
sudo -u ${SUDO_USER} brew install https://rawgit.com/jackrobison/homebrew/master/Library/Formula/berkeley-db4.rb &>/dev/null
|
||||||
|
sudo -u ${SUDO_USER} brew link --force berkeley-db4 &>/dev/null
|
||||||
|
else
|
||||||
|
echo "berkeley-db4 already installed"
|
||||||
|
fi
|
||||||
|
|
||||||
tmp=$(mktemp -d)
|
tmp=$(mktemp -d)
|
||||||
cd $tmp
|
cd $tmp
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue