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
commit 9b02a25b3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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"