mirror of
https://github.com/redmine/redmine.git
synced 2026-09-02 03:17:37 +02:00
Test if convert binary is available.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10014 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -129,10 +129,7 @@ class ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
def self.convert_installed?
|
||||
bin = Redmine::Configuration['imagemagick_convert_command'] || 'convert'
|
||||
system("#{bin} -version")
|
||||
rescue
|
||||
false
|
||||
Redmine::Thumbnail.convert_available?
|
||||
end
|
||||
|
||||
# Returns the path to the test +vendor+ repository
|
||||
|
||||
Reference in New Issue
Block a user