Skip to content

Instantly share code, notes, and snippets.

@n0b0dy
Created December 19, 2012 04:16
Show Gist options
  • Save n0b0dy/4334347 to your computer and use it in GitHub Desktop.
Save n0b0dy/4334347 to your computer and use it in GitHub Desktop.
gdt install
#!/bin/sh
url="https://github.com/n0b0dy/gentoo-deploy-tools/archive/master.tar.gz"
gdt_path="$HOME/.gdt"
mkdir -p "$HOME/.gdt/bin"
wget -O - $url | tar -C $gdt_path -xzvf -
mv $gdt_path/gentoo-deploy-tools-master/* $gdt_path
mv $gdt_path/gentoo-deploy-tools-master/.gdt.rc $gdt_path
rmdir $gdt_path/gentoo-deploy-tools-master
source $gdt_path/.gdt.rc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment