2014-02-21 16:08:19 -03:00
|
|
|
#!/bin/bash -e
|
2014-02-20 13:20:31 -03:00
|
|
|
target=${1:-.}
|
|
|
|
|
|
|
|
mkdir -p $target{,/roles,/recipes,/files}
|
|
|
|
touch $target/{README.md,install.sh,roles/.gitkeep,recipes/.gitkeep,files/.gitkeep}
|
|
|
|
chmod +x $target/install.sh
|
2014-02-20 15:06:18 -03:00
|
|
|
[ -f $target/.gitignore ] && echo "compile" > $target/.gitignore || echo "compile" >> $target/.gitignore
|