projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DID inventory/import / bulk DID orders - phase 2, RT12754
[freeside.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
9fcb619
..
59f5e2f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-45,7
+45,7
@@
INIT_FILE = /etc/init.d/freeside
#INIT_FILE = /usr/local/etc/rc.d/011.freeside.sh
#deb
#INIT_FILE = /usr/local/etc/rc.d/011.freeside.sh
#deb
-INIT_INSTALL = /usr/sbin/update-rc.d freeside defaults 2
1 20
+INIT_INSTALL = /usr/sbin/update-rc.d freeside defaults 2
3 01
#redhat, fedora
#INIT_INSTALL = /sbin/chkconfig freeside on
#not necessary (freebsd)
#redhat, fedora
#INIT_INSTALL = /sbin/chkconfig freeside on
#not necessary (freebsd)
@@
-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