From 8d6913fe18cc0a6826ea3cdbb401f3deac0c8243 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 10 Apr 2005 01:13:06 +0000 Subject: [PATCH] fix install-apache for bsd make and reverse accidentally-checked-in (again!) RT_ENABLED = 1 --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8fa09d6e5..79491e940 100644 --- a/Makefile +++ b/Makefile @@ -82,8 +82,8 @@ SELFSERVICE_INSTALL_USER = ivan SELFSERVICE_INSTALL_USERADD = /usr/sbin/useradd #SELFSERVICE_INSTALL_USERADD = "/usr/sbin/pw useradd" -#RT_ENABLED = 0 -RT_ENABLED = 1 +RT_ENABLED = 0 +#RT_ENABLED = 1 RT_DOMAIN = example.com RT_TIMEZONE = US/Pacific; #RT_TIMEZONE = US/Eastern; @@ -191,11 +191,12 @@ install-init: install-apache: [ -d ${APACHE_CONF} ] && \ - install -o root -m 755 htetc/freeside-base.conf ${APACHE_CONF} && \ - ( [ ${RT_ENABLED} -eq 1 ] && install -o root -m 755 htetc/freeside-rt.conf ${APACHE_CONF} || true ) && \ - perl -p -i -e "\ - s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g; \ - " ${APACHE_CONF}/freeside-*.conf + ( install -o root -m 755 htetc/freeside-base.conf ${APACHE_CONF} && \ + ( [ ${RT_ENABLED} -eq 1 ] && install -o root -m 755 htetc/freeside-rt.conf ${APACHE_CONF} || true ) && \ + perl -p -i -e "\ + s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g; \ + " ${APACHE_CONF}/freeside-*.conf \ + ) || true install-selfservice: [ -e ~freeside/.ssh/id_dsa.pub ] || su - freeside -c 'ssh-keygen -t dsa' -- 2.11.0