summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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