authserver/homestead/scripts/create-postgres.sh
author julien <julien@erret.com>
Fri, 31 Jul 2015 18:36:24 +0200
changeset 68 5002976e742d
parent 8 5a0cbbe0922a
permissions -rw-r--r--
comments the stylesheet and update video control interface and segment list interface

#!/usr/bin/env bash

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