Last active
April 16, 2017 01:54
-
-
Save anelson/366c7aa381469893a5377d9f04710267 to your computer and use it in GitHub Desktop.
This file contains 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/sh | |
# Install chef-dk the arch way | |
TMPDIR=$HOME/temp # don't use mktemp here; the /tmp volume is usually too small on vagrant boxes | |
if [ ! "command -v chef" ]; then | |
mkdir -p $TMPDIR | |
cd $TMPDIR | |
curl -o chef-dk.tgz "https://aur.archlinux.org/cgit/aur.git/snapshot/chef-dk.tar.gz" | |
tar xvzf chef-dk.tgz | |
cd chef-dk | |
makepkg -si | |
rm -rf $TMPDIR | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment