authserver/homestead/scripts/create-postgres.sh
author durandn
Fri, 18 Sep 2015 15:11:24 +0200
changeset 155 46fa7451f951
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Updated metadataplayer by building it from official repo

#!/usr/bin/env bash

DB=$1;
su postgres -c "dropdb $DB --if-exists"
su postgres -c "createdb -O homestead '$DB' || true"