Changeset 19483


Ignore:
Timestamp:
05/15/09 12:15:27 (12 years ago)
Author:
oranfry
Message:

fixing the check for imagemagick

File:
1 edited

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"
Note: See TracChangeset for help on using the changeset viewer.