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

@@ -44,8 +44,8 @@ class Ferdi < Package
config_dir = "#{HOME}/.config/autostart"
if Dir.exist? config_dir
print "Would you like to remove the config directory #{config_dir}? [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.".lightred
else