Skip to content

Commit

Permalink
Fix Imagemagick download URI on CI (#506)
Browse files Browse the repository at this point in the history
* use xz archive instead of gzip

http://www.imagemagick.org/download/releases/ImageMagick-6.9.10-33.tar.gz is 404 not found

* use HTTPS for downloading
  • Loading branch information
nishidayuya committed Mar 11, 2020
1 parent 4206a74 commit 8ce421a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install/imagemagick.sh
@@ -1,8 +1,8 @@
set -ex

im_download_path=$(curl -sf http://www.imagemagick.org/download/releases/ | grep -o "ImageMagick-$IM_VERSION-.*.tar.gz" -m 1)
curl -f "http://www.imagemagick.org/download/releases/$im_download_path" > ImageMagick.tar.gz
tar xzf ImageMagick.tar.gz
im_download_path=$(curl -sf https://www.imagemagick.org/download/releases/ | grep -o "ImageMagick-$IM_VERSION-.*.tar.xz" -m 1)
curl -f "https://www.imagemagick.org/download/releases/$im_download_path" > ImageMagick.tar.xz
tar xf ImageMagick.tar.xz
cd ImageMagick-*
./configure --prefix=/usr
sudo make install

0 comments on commit 8ce421a

Please sign in to comment.