Fixed issue where the ASK environnement variable..
was not taken into account when doing a ASK=true rake install
This commit is contained in:
parent
018f744346
commit
d2b202c43d
2
Rakefile
2
Rakefile
@ -129,7 +129,7 @@ def install_prezto
|
|||||||
end
|
end
|
||||||
|
|
||||||
def want_to_install? (section)
|
def want_to_install? (section)
|
||||||
if ENV["ask"]=="true"
|
if ENV["ASK"]=="true"
|
||||||
puts "Would you like to install configuration files for: #{section}? [y]es, [n]o"
|
puts "Would you like to install configuration files for: #{section}? [y]es, [n]o"
|
||||||
STDIN.gets.chomp == 'y'
|
STDIN.gets.chomp == 'y'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user