Sha256: fdaf02a66e41fb1b0150a861ef6d010e5e9a7708740129f14a40bb2427b2483f
Contents?: true
Size: 376 Bytes
Versions: 4
Compression:
Stored size: 376 Bytes
Contents
#!/usr/bin/env ruby require 'fileutils' if !ARGV[0] puts "Directory name required." exit 1 end if File.directory?(ARGV[0]) puts "You can't overwrite an existing directory." exit 1 end FileUtils.cp_r File.expand_path(File.join(File.dirname(__FILE__), '..', 'skel')), ARGV[0] FileUtils.mkdir_p File.join(ARGV[0], 'source') FileUtils.mkdir_p File.join(ARGV[0], 'conf.d')
Version data entries
4 entries across 4 versions & 1 rubygems