kickstart/lib/kickstart-create
2015-05-20 17:16:16 -03:00

8 lines
230 B
Bash
Executable File

#!/bin/bash -e
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
echo "compile" >> "$target"/.gitignore