You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by fr...@apache.org on 2017/04/20 18:40:02 UTC

[13/44] incubator-trafficcontrol git commit: no symlinks, no copying local/bin files

no symlinks,  no copying local/bin files

(cherry picked from commit 8f5234d4a5e06723b915cda7086bcd565f7e9cca)


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/415b11c8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/415b11c8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/415b11c8

Branch: refs/heads/2.0.x
Commit: 415b11c8a4a44fc2bf13a28b75f0c86c5f943ac1
Parents: 51ea817
Author: Dan Kirkwood <da...@gmail.com>
Authored: Wed Apr 12 09:40:52 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Wed Apr 19 15:35:18 2017 -0600

----------------------------------------------------------------------
 traffic_ops/install/lib/BuildPerlDeps.pm | 17 -----------------
 1 file changed, 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/415b11c8/traffic_ops/install/lib/BuildPerlDeps.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/install/lib/BuildPerlDeps.pm b/traffic_ops/install/lib/BuildPerlDeps.pm
index 98229e9..90ff1eb 100644
--- a/traffic_ops/install/lib/BuildPerlDeps.pm
+++ b/traffic_ops/install/lib/BuildPerlDeps.pm
@@ -13,8 +13,6 @@
 # limitations under the License.
 #
 
-use lib qw(/opt/traffic_ops/install/lib /opt/traffic_ops/lib/perl5 /opt/traffic_ops/app/lib);
-
 package BuildPerlDeps;
 
 use strict;
@@ -82,21 +80,6 @@ EOF
         errorOut("Failure to build required perl modules, check the output and correct the problem");
     }
 
-    if ( !-s "/opt/traffic_ops/lib/perl5" ) {
-        InstallUtils::logger( "Linking perl libraries...", "info" );
-        if ( !-d "/opt/traffic_ops/lib" ) {
-            mkdir("/opt/traffic_ops/lib");
-        }
-        symlink( "/opt/traffic_ops/app/local/lib/perl5", "/opt/traffic_ops/lib/perl5" );
-        InstallUtils::execCommand( "/bin/chown", "-R", "trafops:trafops", "/opt/traffic_ops/lib" );
-    }
-    InstallUtils::logger( "Installing perl scripts", "info" );
-    chdir("/opt/traffic_ops/app/local/bin");
-    my $rc = InstallUtils::execCommand( "/bin/cp", "-R", ".", "/opt/traffic_ops/app/bin" );
-    if ( $rc != 0 ) {
-        InstallUtils::logger( "Failed to copy perl scripts to /opt/traffic_ops/app/bin", "error" );
-    }
-
     return 0;
 }