set config ownership after install-rt
authormark <mark>
Tue, 7 Jun 2011 03:11:54 +0000 (03:11 +0000)
committermark <mark>
Tue, 7 Jun 2011 03:11:54 +0000 (03:11 +0000)
Makefile

index ff36330..65a5cb7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -374,6 +374,8 @@ install-rt:
          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:
        if [ ${RT_ENABLED} -eq 1 ] && [ -d ${RT_PATH} ]; then \