mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
Merge branch 'git-version' into 'master'
Install Git 2.7.3, not 2.4.3 See merge request !3248
This commit is contained in:
committed by
Rémy Coutable
parent
72913edb02
commit
157e4c9a0d
@@ -89,8 +89,9 @@ Is the system packaged Git too old? Remove it and compile from source.
|
||||
|
||||
# Download and compile from source
|
||||
cd /tmp
|
||||
curl -L --progress https://www.kernel.org/pub/software/scm/git/git-2.4.3.tar.gz | tar xz
|
||||
cd git-2.4.3/
|
||||
curl -O --progress https://www.kernel.org/pub/software/scm/git/git-2.7.3.tar.gz
|
||||
echo '30d067499b61caddedaf1a407b4947244f14d10842d100f7c7c6ea1c288280cd git-2.7.3.tar.gz' | shasum -a256 -c - && tar -xzf git-2.7.3.tar.gz
|
||||
cd git-2.7.3/
|
||||
./configure
|
||||
make prefix=/usr/local all
|
||||
|
||||
@@ -143,7 +144,7 @@ use 64-bit Linux. You can find downloads for other platforms at the [Go download
|
||||
page](https://golang.org/dl).
|
||||
|
||||
curl -O --progress https://storage.googleapis.com/golang/go1.5.3.linux-amd64.tar.gz
|
||||
echo '43afe0c5017e502630b1aea4d44b8a7f059bf60d7f29dfd58db454d4e4e0ae53 go1.5.3.linux-amd64.tar.gz' | shasum -c - && \
|
||||
echo '43afe0c5017e502630b1aea4d44b8a7f059bf60d7f29dfd58db454d4e4e0ae53 go1.5.3.linux-amd64.tar.gz' | shasum -a256 -c - && \
|
||||
sudo tar -C /usr/local -xzf go1.5.3.linux-amd64.tar.gz
|
||||
sudo ln -sf /usr/local/go/bin/{go,godoc,gofmt} /usr/local/bin/
|
||||
rm go1.5.3.linux-amd64.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user