From ec51d5b8f07321583e7ff556eb952b7774e1b405 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 20 May 2011 01:19:56 +0000 Subject: [PATCH] install RT initialdata, #9569 --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 18944c51b..9fcb619fb 100644 --- a/Makefile +++ b/Makefile @@ -216,7 +216,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 \ @@ -376,6 +376,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 + configure-torrus: cd torrus; \ torrus_user=freeside var_user=freeside var_group=freeside ./configure -- 2.11.0