1 2 3 4 5
#!/bin/bash if [ $1 = "start" -o $1 = "install" ]; then # fix location of SQL tables sed -e "s|../tables/|${VHOST_ROOT}/${PN}/tables/|" -i ${MY_INSTALLDIR}/config_setup.php fi