[Bps-public-commit] Module-Install-RTx branch, master, updated. 0.32_02-1-g11bc997

Alex Vandiver alexmv at bestpractical.com
Mon Mar 17 11:23:38 EDT 2014


The branch, master has been updated
       via  11bc997e48a286141a965f29a95006f9294e4e57 (commit)
      from  75002055a06d486b638163e5cc592719ae09f41d (commit)

Summary of changes:
 lib/Module/Install/RTx.pm | 5 +++++
 1 file changed, 5 insertions(+)

- Log -----------------------------------------------------------------
commit 11bc997e48a286141a965f29a95006f9294e4e57
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Mar 11 10:53:39 2014 -0400

    Copy static/ into html/NoAuth/ on < 4.2.0

diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index a068be7..5578bbe 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -87,6 +87,11 @@ sub RTx {
             ."Upgrade to RT 3.8.1 or newer.\n" if $RT::VERSION =~ /^3\.8\.0/;
         $path{$_} = $RT::LocalPluginPath . "/$original_name/$_"
             foreach @DIRS;
+
+        # Copy RT 4.2.0 static files into NoAuth; insufficient for
+        # images, but good enough for css and js.
+        $path{static} = "$path{html}/NoAuth/"
+            unless $RT::StaticPath;
     } else {
         foreach ( @DIRS ) {
             no strict 'refs';

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list