Created
May 10, 2016 09:50
-
-
Save adambutler/9055ff0096c1142079f6540a31d24028 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
TAR=git-lfs-linux-amd64-1.2.0.tar.gz | |
URL=https://github.com/github/git-lfs/releases/download/v1.2.0/$TAR | |
if ! [ -e $SEMAPHORE_CACHE_DIR/$TAR ]; then (cd $SEMAPHORE_CACHE_DIR; wget $URL); fi | |
sudo mkdir -p /opt/git-lfs | |
sudo tar -xzf $SEMAPHORE_CACHE_DIR/$TAR -C /opt/git-lfs --strip=1 | |
cd /opt/git-lfs/ && sudo bash install.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment