Add g++ library
This commit is contained in:
parent
c1c25db8d4
commit
df2d4d3055
|
@ -182,6 +182,11 @@ if ! which psql >/dev/null; then
|
||||||
yum install -y --enablerepo=epel postgresql >"$LOG"
|
yum install -y --enablerepo=epel postgresql >"$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! which g++ >/dev/null; then
|
||||||
|
log "Installing gcc-c++.."
|
||||||
|
yum install -y gcc-c++ >"$LOG"
|
||||||
|
fi
|
||||||
|
|
||||||
function has_db() {
|
function has_db() {
|
||||||
psql --tuples-only --no-align \
|
psql --tuples-only --no-align \
|
||||||
"$DATABASE_URL/postgres" \
|
"$DATABASE_URL/postgres" \
|
||||||
|
|
Loading…
Reference in New Issue