#!/usr/bin/env bash
set -e
#check to make sure this is a 64-bit machine
getconf LONG_BIT | grep 64 > /dev/null || ( echo "Git Fusion requires a 64-bit machine. Exiting." && exit 1)
sudo rpm --import http://package.perforce.com/perforce.pubkey
#create the file to hold the package info
#sudo touch /etc/yum.repos.d/perforce.repo
#Update sources list with the Perforce Package repo.
sudo echo "[perforce]
name=Perforce
baseurl=http://package.perforce.com/yum/rhel/6/x86_64
enabled=1
gpgcheck=1" >> /etc/yum.repos.d/perforce.repo
sudo yum -y update
sudo yum -y install helix-git-fusion
#Set some system wide variables for the VM.
sudo echo "export P4EDITOR=nano" >> /etc/bash.bashrc
sudo echo "export P4PORT=ssl:localhost:1666" >> /etc/bash.bashrc
sudo echo "export P4CONFIG=.p4config" >> /etc/bash.bashrc
# |
Change |
User |
Description |
Committed |
|
#3
|
18706 |
jenbottom |
Moving some files aroudn to make things less messy and hopefully easier to find |
|
|
#2
|
18013 |
jenbottom |
Creating a very baic centos script, that does not install anything |
|
|
#1
|
17989 |
jenbottom |
Submitting more changes to vagrant file |
|
|