Files
git-repo-object-sizes/install.sh
T

10 lines
337 B
Bash

#!/usr/bin/env bash
# Installs the Git repo object sizes tool.
#
# Usage:
# ./install.sh [TARGET]
# Default for TARGET is /usr/local/bin/git-repo-object-sizes
curl https://repo.jcloud-services.ddns.net/software/git-repo-object-sizes/git-repo-object-sizes_latest_linux_amd64.tar.gz | tar -xzf - -O ./git-repo-object-sizes.sh > $target;