Merge pull request #3 from jpneverwas/tzselect

Trim trailing newline (line feed) from tzselect output
This commit is contained in:
Ben Harris
2021-02-26 10:44:30 -05:00
committed by GitHub

View File

@@ -89,7 +89,7 @@ sep
puts "step 4:" puts "step 4:"
puts " great, let's set up your timezone!" puts " great, let's set up your timezone!"
puts puts
tz = %x{tzselect} tz = %x{tzselect}.chomp
puts puts
puts " you selected #{tz}, adding this to your ~/.profile now" puts " you selected #{tz}, adding this to your ~/.profile now"
puts " it might not take effect until you log out and back in" puts " it might not take effect until you log out and back in"