Skip to content

Instantly share code, notes, and snippets.

@bixu
Created September 21, 2010 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bixu/590619 to your computer and use it in GitHub Desktop.
Save bixu/590619 to your computer and use it in GitHub Desktop.
execute "Install more current ImageMagick" do
user "root"
command "curl -o /root/ImageMagick.rpm http://www.imagemagick.org/download/linux/CentOS/`uname -i`/ImageMagick-6.6.4-5.`uname -i`.rpm"
command "curl -o /root/ImageMagick-devel.rpm http://www.imagemagick.org/download/linux/CentOS/`uname -i`/ImageMagick-devel-6.6.4-5.`uname -i`.rpm"
command "rpm -Uvh /root/ImageMagick-devel.rpm /root/ImageMagick.rpm"
creates "/root/.ImageMagick.installed"
action :run
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment