fix silly bug preventing html invoicing from finding their logo
[freeside.git] / Makefile
index 8fa09d6..796bca8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -99,8 +99,8 @@ FREESIDE_CONF = /usr/local/etc/freeside
 #rt/config.layout.in
 RT_PATH = /opt/rt3
 
-VERSION=1.5.0pre6
-TAG=freeside_1_5_0pre6
+VERSION=1.5.7
+TAG=freeside_1_5_7
 
 help:
        @echo "supported targets: aspdocs masondocs alldocs docs install-docs"
@@ -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'