fixup prompts (#7813)

* fixup prompts

* default for no doesn't have ''
This commit is contained in:
Satadru Pramanik
2023-01-05 14:00:16 -05:00
committed by GitHub
parent 3e2866b361
commit 61cf13e39b
45 changed files with 87 additions and 87 deletions

View File

@@ -82,8 +82,8 @@ class Clamtk < Package
if Dir.exist? config_dir
puts 'WARNING: This will remove all clamtk config!'.orange
print "Would you like to remove the #{config_dir} directory? [y/N] "
case $stdin.getc
when 'y', 'Y'
case $stdin.gets.chomp.downcase
when 'y', 'yes'
FileUtils.rm_rf config_dir
puts "#{config_dir} removed.".lightgreen
else