Index: head/multimedia/mythtv/files/makedb =================================================================== --- head/multimedia/mythtv/files/makedb (nonexistent) +++ head/multimedia/mythtv/files/makedb (revision 182588) @@ -0,0 +1,23 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# Install the MythTV database. We only do this if it doesn't already +# exist. +# +# Start mysqld if it isn't running. +pgrep mysqld > /dev/null || /usr/local/etc/rc.d/mysql start || exit +# Try to create the database +mysql < /usr/local/share/mythtv/database/mc.sql +if [ $? -ne 0 ]; then + echo <