We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 486a9df commit 43cc2f8Copy full SHA for 43cc2f8
recipes/setup.rb
@@ -421,3 +421,24 @@
421
422
# install rsvg-convert tool, for converting and resizing SVG image to PNG
423
apt_package 'librsvg2-bin'
424
+
425
+# Exiftool Installation
426
+exiftool_archive_path = ::File.join(Chef::Config[:file_cache_path], 'Image-ExifTool-12.77.tar.gz')
427
428
+remote_file exiftool_archive_path do
429
+ source 'https://jiffy-linux-packages.s3.amazonaws.com/Image-ExifTool-12.77.tar.gz'
430
+ owner 'root'
431
+ group 'root'
432
+ mode '0755'
433
+end
434
435
+execute 'install exiftool' do
436
+ cwd Chef::Config[:file_cache_path]
437
+ command <<-EOH
438
+ gzip -dc Image-ExifTool-12.77.tar.gz | tar -xf -
439
+ cd Image-ExifTool-12.77
440
+ perl Makefile.PL
441
+ sudo make install
442
+ EOH
443
+ action :run
444
0 commit comments