From c7c89749e658bbd611c82635ded9fb87eefeb3b3 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 20 May 2011 01:19:45 +0000 Subject: [PATCH 1/1] install RT initialdata, #9569 --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2036c681a..6c7aac4ee 100644 --- a/Makefile +++ b/Makefile @@ -221,7 +221,7 @@ perl-modules: s|%%%DIST_CONF%%%|${DIST_CONF}|g;\ " blib/script/* -install-perl-modules: perl-modules +install-perl-modules: perl-modules install-rt-initialdata [ -L ${PERL_INC_DEV_KLUDGE}/FS ] \ && rm ${PERL_INC_DEV_KLUDGE}/FS \ && mv ${PERL_INC_DEV_KLUDGE}/FS.old ${PERL_INC_DEV_KLUDGE}/FS \ @@ -375,6 +375,11 @@ install-rt: s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\ " ${RT_PATH}/etc/RT_SiteConfig.pm; fi +install-rt-initialdata: + if [ ${RT_ENABLED} -eq 1 ]; then \ + install -D -o freeside -g freeside -m 0440 rt/etc/initialdata \ + ${RT_PATH}/etc/initialdata; fi + clean: rm -rf masondocs rm -rf httemplate/docs/man -- 2.11.0