[Bps-public-commit] Module-Install-RTx branch, rt5-directories, created. 0.39-9-g463ea18

Jim Brandt jbrandt at bestpractical.com
Wed Apr 15 17:31:50 EDT 2020


The branch, rt5-directories has been created
        at  463ea1868feb91c4b3d82d84da4efc2d00c364de (commit)

- Log -----------------------------------------------------------------
commit b02488dc2e2d3b50c11ac4dc830bb67f1be84fff
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed Apr 15 17:29:48 2020 -0400

    Search for /opt/rt5 for new RT 5.0 installs
    
    Keep /opt/rt4, but search for /opt/rt5 first.

diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index afee9bd..27ef4c5 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -52,7 +52,7 @@ sub RTx {
         my @look = @INC;
         unshift @look, grep {defined and -d $_} @try;
         push @look, grep {defined and -d $_}
-            map { ( "$_/rt4/lib", "$_/lib/rt4", "$_/lib" ) } @prefixes;
+            map { ( "$_/rt5/lib", "$_/lib/rt5", "$_/rt4/lib", "$_/lib/rt4", "$_/lib" ) } @prefixes;
         last if eval {local @INC = @look; require RT; $RT::LocalLibPath};
 
         warn

commit 463ea1868feb91c4b3d82d84da4efc2d00c364de
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed Apr 15 17:31:31 2020 -0400

    Update examples for /opt/rt5

diff --git a/README b/README
index 3747288..2d8456b 100644
--- a/README
+++ b/README
@@ -91,14 +91,14 @@ ENVIRONMENT
 EXAMPLES
     To install an extension which makes use of this installer:
 
-        perl Makefile.PL RTHOME=/opt/rt4
+        perl Makefile.PL RTHOME=/opt/rt5
 
     This will install all subdirs into the $RT::LocalPluginPath dir as
     configured in RT::Generated.
 
     To install an extension into the (vendor) plugin path:
 
-        perl Makefile.PL RTHOME=/opt/rt4 INSTALLDIRS=vendor
+        perl Makefile.PL RTHOME=/opt/rt5 INSTALLDIRS=vendor
 
     This will install all subdirs into the $RT::PluginPath which is
     specifically meant for plugins that are installed through other
diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index 27ef4c5..c56844a 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -413,14 +413,14 @@ Path to the RT installation that contains a valid F<lib/RT.pm>.
 
 To install an extension which makes use of this installer:
 
-    perl Makefile.PL RTHOME=/opt/rt4
+    perl Makefile.PL RTHOME=/opt/rt5
 
 This will install all subdirs into the $RT::LocalPluginPath dir
 as configured in RT::Generated.
 
 To install an extension into the (vendor) plugin path:
 
-    perl Makefile.PL RTHOME=/opt/rt4 INSTALLDIRS=vendor
+    perl Makefile.PL RTHOME=/opt/rt5 INSTALLDIRS=vendor
 
 This will install all subdirs into the $RT::PluginPath which is specifically
 meant for plugins that are installed through other packaging utils like

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


More information about the Bps-public-commit mailing list