Skip to content

Instantly share code, notes, and snippets.

@jtgiri
Created December 29, 2011 21:03
Show Gist options
  • Save jtgiri/1536191 to your computer and use it in GitHub Desktop.
Save jtgiri/1536191 to your computer and use it in GitHub Desktop.
script "time_zone" do
interpreter "bash"
code <<-EOH
mv /etc/localtime /etc/localtime.org
ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
not_if "date | grep PST"
EOH
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment