Trim trailing newline from tzselect output

This commit is contained in:
J.P Neverwas
2020-11-13 00:19:38 -08:00
committed by J.P. Neverwas
parent 23ed612792
commit 1ad4ce2dab

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"