@@ -43,7 +43,6 module Redmine | |||||
43 |
|
43 | |||
44 | def self.convert_available? |
|
44 | def self.convert_available? | |
45 | return @convert_available if defined?(@convert_available) |
|
45 | return @convert_available if defined?(@convert_available) | |
46 | logger.warn("testing for convert...") |
|
|||
47 | @convert_available = system("#{shell_quote CONVERT_BIN} -version") rescue false |
|
46 | @convert_available = system("#{shell_quote CONVERT_BIN} -version") rescue false | |
48 | logger.warn("Imagemagick's convert binary (#{CONVERT_BIN}) not available") unless @convert_available |
|
47 | logger.warn("Imagemagick's convert binary (#{CONVERT_BIN}) not available") unless @convert_available | |
49 | @convert_available |
|
48 | @convert_available |
General Comments 0
You need to be logged in to leave comments.
Login now