#!/bin/bash

DATADIR="../mythtv/stable/mythtv/src/mythtv-0.21/programs"
mkdir $DATADIR/mythinstall
mkdir $DATADIR/mythbeselect
rm mythinstall.bin
rm mythbeselect.bin
ln -n `pwd`/mythinstall/* $DATADIR/mythinstall
ln -n `pwd`/mythbeselect/* $DATADIR/mythbeselect

ln -s  $DATADIR/mythbeselect/mythbeselect ./mythbeselect.bin
ln -s  $DATADIR/mythinstall/mythinstall ./mythinstall.bin