8 lines
		
	
	
		
			291 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			291 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash -xe
 | 
						|
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
 | 
						|
[ -f $target/.gitignore ] && echo "compile" > $target/.gitignore || echo "compile" >> $target/.gitignore
 |