Skip to content

Instantly share code, notes, and snippets.

@ilumos
Last active February 29, 2020 08:49
Show Gist options
  • Save ilumos/20224aad1b08278fa411ef82855a39a0 to your computer and use it in GitHub Desktop.
Save ilumos/20224aad1b08278fa411ef82855a39a0 to your computer and use it in GitHub Desktop.
#!/bin/bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
repos=(
"zeropingheroes/lanager"
"zeropingheroes/lancache"
"zeropingheroes/lancache-elk"
"zeropingheroes/lancache-dns"
"zeropingheroes/lancache-sniproxy"
"zeropingheroes/lancache-autofill"
"zeropingheroes/game-servers"
"zeropingheroes/lancache-dns-pfsense"
"zeropingheroes/lancache-filebeat"
"zeropingheroes/observium-nmap-autodiscover"
"zeropingheroes/lancache-installer"
"zeropingheroes/cache-domains"
"zeropingheroes/observium-alerts"
"zeropingheroes/cloud-init"
"zeropingheroes/observium-installer"
"zeropingheroes/lanyard"
"zeropingheroes/gtmurmur-cvp-proxy"
"ilumos/Steam"
)
for repo in "${repos[@]}"
do
if cd $repo; then git pull; else git clone https://github.com/$repo.git $repo; fi
cd $SCRIPT_DIR
done
gists=(
"ilumos/4a0cb68b64beb0b60f9b34a4070e0aec"
"ilumos/74b0dcd0f412c457db6062e4cb8bf46a"
"ilumos/a523fcafe2463cf1dca52e95afcbd685"
"ilumos/7540483b4f82133f7c44f640d1d1fa4c"
"ilumos/f6861ea879889146ce9ad61a956ba801"
"ilumos/487b566202803c81792ec1993e5a7f13"
"ilumos/878674f3c50da1c83c24a5ef1771eb12"
"ilumos/05c9ec4e81f6339cc2f75e57a96b1d29"
"ilumos/c238f2f448456c6c28bbc499f17786fd"
"ilumos/b75b00381d191434d30bb2c3bcd60e5c"
"ilumos/20224aad1b08278fa411ef82855a39a0"
)
for gist in "${gists[@]}"
do
if cd $gist; then git pull; else git clone https://gist.github.com/$gist.git $gist; fi
cd $SCRIPT_DIR
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment