Permalink
Browse files

Ugly hack until MySQL fixes tz

  • Loading branch information...
Brian Cunnie
Brian Cunnie committed Mar 5, 2013
1 parent 0abc16f commit a86dad3f7fd53c3a709ef2fa5cf209fd88f3f4ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 recipes/mysql.rb
View
@@ -60,6 +60,6 @@
end
execute "insert time zone info" do
- command "mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -uroot -p#{PASSWORD} mysql"
+ command "mysql_tzinfo_to_sql /usr/share/zoneinfo | sed 's/Local time zone must be set--see zic manual page/XXT/' | mysql -uroot -p#{PASSWORD} mysql"
not_if "mysql -uroot -p#{PASSWORD} mysql -e 'select * from time_zone_name' | grep -q UTC"
end

0 comments on commit a86dad3

Please sign in to comment.