combine ticket notification scrips, #15353
[freeside.git] / rt / Makefile.in
index 4bd512a..f963faa 100644 (file)
@@ -170,6 +170,7 @@ SYSTEM_BINARIES             =       rt-attributes-viewer \
                                rt-email-dashboards \
                                rt-email-group-admin \
                                rt-server \
                                rt-email-dashboards \
                                rt-email-group-admin \
                                rt-server \
+                               rt-session-viewer \
                                rt-test-dependencies \
                                rt-clean-sessions \
                                rt-shredder \
                                rt-test-dependencies \
                                rt-clean-sessions \
                                rt-shredder \
@@ -317,7 +318,7 @@ fixperms:
        chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_BIN_PATH)
 
        chmod 0755 $(DESTDIR)$(RT_ETC_PATH)
        chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_BIN_PATH)
 
        chmod 0755 $(DESTDIR)$(RT_ETC_PATH)
-       cd $(DESTDIR)$(RT_ETC_PATH) && chmod 0400 $(ETC_FILES)
+       cd $(DESTDIR)$(RT_ETC_PATH) && chmod 0400 $(ETC_FILES) || true
 
        #TODO: the config file should probably be able to have its
        # owner set separately from the binaries.
 
        #TODO: the config file should probably be able to have its
        # owner set separately from the binaries.
@@ -326,6 +327,8 @@ fixperms:
 
        chmod 0440 $(DESTDIR)$(CONFIG_FILE)
        chmod 0640 $(DESTDIR)$(SITE_CONFIG_FILE)
 
        chmod 0440 $(DESTDIR)$(CONFIG_FILE)
        chmod 0640 $(DESTDIR)$(SITE_CONFIG_FILE)
+       # Make this externally readable
+       chmod 0440 $(DESTDIR)$(RT_ETC_PATH)/initialdata
 
        # Make the system binaries
        cd $(DESTDIR)$(RT_BIN_PATH) && ( chmod 0755 $(BINARIES) ; chown $(BIN_OWNER) $(BINARIES);  chgrp $(RTGROUP) $(BINARIES))
 
        # Make the system binaries
        cd $(DESTDIR)$(RT_BIN_PATH) && ( chmod 0755 $(BINARIES) ; chown $(BIN_OWNER) $(BINARIES);  chgrp $(RTGROUP) $(BINARIES))