This commit is contained in:
Jack 2016-02-22 10:05:55 -05:00
parent 8fc1cbfc54
commit 8aab844a48

View file

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