Merge pull request #73 from poanetwork/ac-gcc

Add g++ library
This commit is contained in:
Andrew Cravenho 2018-11-01 15:34:52 +01:00 committed by GitHub
commit ea669acf7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -182,6 +182,11 @@ if ! which psql >/dev/null; then
yum install -y --enablerepo=epel postgresql >"$LOG"
fi
if ! which g++ >/dev/null; then
log "Installing gcc-c++.."
yum install -y gcc-c++ >"$LOG"
fi
function has_db() {
psql --tuples-only --no-align \
"$DATABASE_URL/postgres" \