bin/meltdown in meltdown-0.1.1 vs bin/meltdown in meltdown-0.1.2
- old
+ new
@@ -34,13 +34,14 @@
# method_option :tld, :type => :string, :default => 'dev'
def install
fail(:sudo) unless as_root?
source = File.expand_path('../../lib/meltdown/resolver.conf', __FILE__)
- target = File.join('/etc/resolver/dev')
+ parent = File.join('/etc/resolver')
+ target = File.join(parent, 'dev')
say "meltdown... installing resolver config at #{target}"
- FileUtils.mkdir_p(target)
+ FileUtils.mkdir_p(parent)
FileUtils.cp(source, target)
File.open(HOME_CONFIG, 'w') do |f|
f.puts "MELTDOWN_RESOLVER=#{target}"
end