projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SMSC CDRs (Kannel) and cdrtypenum option on cdr sftp import script, RT10991
[freeside.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
d5641b2
..
59f5e2f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-375,9
+375,12
@@
install-rt:
s'%%%RT_TIMEZONE%%%'${RT_TIMEZONE}'g;\
s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\
" ${RT_PATH}/etc/RT_SiteConfig.pm; fi
s'%%%RT_TIMEZONE%%%'${RT_TIMEZONE}'g;\
s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\
" ${RT_PATH}/etc/RT_SiteConfig.pm; fi
+ if [ ${RT_ENABLED} -eq 1 ]; then \
+ chown -R freeside:freeside ${RT_PATH}/etc; fi
install-rt-initialdata:
install-rt-initialdata:
- if [ ${RT_ENABLED} -eq 1 ]; then \
+ if [ ${RT_ENABLED} -eq 1 ] && [ -d ${RT_PATH} ]; then \
+ chown -R freeside:freeside ${RT_PATH}/etc; \
install -D -o freeside -g freeside -m 0440 rt/etc/initialdata \
${RT_PATH}/etc/initialdata; fi
install -D -o freeside -g freeside -m 0440 rt/etc/initialdata \
${RT_PATH}/etc/initialdata; fi