#!/bin/sh
set -e
if su postgres -c 'psql -l' | grep -v skylendar;
 then skydmin -i;
fi
exit 0
