You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2017/07/12 19:52:58 UTC
[2/2] incubator-trafficcontrol git commit: install git dependency
when installing goose
install git dependency when installing goose
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/b57fb021
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/b57fb021
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/b57fb021
Branch: refs/heads/master
Commit: b57fb021465138736e7b1b9aab252e93a47a9828
Parents: 2df129a
Author: Robert Scrimo <ro...@comcast.com>
Authored: Wed Jul 12 13:37:57 2017 -0600
Committer: Dewayne Richardson <de...@apache.org>
Committed: Wed Jul 12 13:52:51 2017 -0600
----------------------------------------------------------------------
traffic_ops/install/bin/install_goose.sh | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/b57fb021/traffic_ops/install/bin/install_goose.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/install/bin/install_goose.sh b/traffic_ops/install/bin/install_goose.sh
index 54a8f71..773fd0d 100755
--- a/traffic_ops/install/bin/install_goose.sh
+++ b/traffic_ops/install/bin/install_goose.sh
@@ -26,6 +26,9 @@ INSTALL_DIR=/usr/local
GOROOT=$INSTALL_DIR/go
GO_BINARY=$GOROOT/bin/go
+# Make sure git is installed before proceeding
+yum -y install git
+
cd /tmp
rm $GO_TARBALL_VERSION
rm $GO_TARBALL_VERSION_SHA_FILE