#!/bin/sh

CWD=`pwd`

sed -i.orig "s|WORKING_DIR|$CWD|" ledgersmb-httpd.conf;

echo "Which user does your web server run as?"
read username

chown $username spool templates css

echo "Where do we copy the ledgersmb-httpd.conf file to?"
read location
cp ledgersmb-httpd.conf $location

echo "Please restart your web server for the changes to take effect."
