#! /bin/bash

. ./ybtsetup.conf

# Make install directory if necessary
# CD to install directory
# TODO: Explode wpfs.tar.gz
#tar xzvf wpfs.tar.gz

# TODO: Chown the exploded files to the new userid (from prosperi)
# TODO: Substitute all occurences of 'prosperi_' with $ACCT_USER + "_"
# TODO: Sed the wpddl.sql to replace the path where the blog in installed (e.g., root or subdir)
# TODO: Sed wpddl.sql to get the proper blog title

# Create the database, user and user grant to database
# TODO: Revisit this when doing this script for real
#mysql --user=root --password=L7g147g1 < dbanduser.sql
#mysql --user=root --password=L7g147g1 

