Lines 12-18
if [ $1 = "install" ]; then
Link Here
|
12 |
# fix location |
12 |
# fix location |
13 |
cd ${VHOST_ROOT}/${PF} |
13 |
cd ${VHOST_ROOT}/${PF} |
14 |
sed -e "s|${MY_HOSTROOTDIR}/${PF}|${VHOST_ROOT}/${PF}|g |
14 |
sed -e "s|${MY_HOSTROOTDIR}/${PF}|${VHOST_ROOT}/${PF}|g |
15 |
s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|g" -i bin/* lib/RT.pm sbin/* etc/RT_Config.pm || die |
15 |
s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|g" -i bin/* etc/RT_Config.pm lib/RT.pm sbin/* || die |
|
|
16 |
|
17 |
if [[ -e ${VHOST_ROOT}/${PF}/lib/RT/Generated.pm ]]; then |
18 |
sed -e "s|${MY_HOSTROOTDIR}/${PF}|${VHOST_ROOT}/${PF}|g |
19 |
s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|g" -i lib/RT/Generated.pm || die |
20 |
fi |
16 |
|
21 |
|
17 |
if [[ -e ${VHOST_ROOT}/${PF}/etc/rt_apache2.conf ]]; then |
22 |
if [[ -e ${VHOST_ROOT}/${PF}/etc/rt_apache2.conf ]]; then |
18 |
sed -i \ |
23 |
sed -i \ |