Changeset 19483

Show
Ignore:
Timestamp:
15.05.2009 12:15:27 (10 years ago)
Author:
oranfry
Message:

fixing the check for imagemagick

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/ImageConverter.pm

    r19420 r19483  
    127127    $no_image_conversion_reason = "win95notsupported"; 
    128128    } else { 
    129     my $result = `identify -version 2>&1`; 
     129    my $result = `identify -help 2>&1`; 
    130130    my $return_value = $?; 
    131131    if ( ($ENV{'GSDLOS'} eq "windows" && $return_value == 256) || $return_value == -1) {  # Linux and Windows return different values for "program not found"