Changeset 15015

Show
Ignore:
Timestamp:
27.02.2008 16:46:13 (11 years ago)
Author:
davidb
Message:

Adjustment to Fedora and METS plugouts so they can handle Fedora v2.x or Fedora v3.x

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/g2futil.pm

    r14968 r15015  
    176176    my $prog = "fedora-ingest"; 
    177177 
    178     my $type = "info:fedora/fedora-system:METSFedoraExt-1.1"; 
    179     # my $type = "metslikefedora1"; # for Fedora version 2.x 
     178    my $type = undef; 
     179     
     180    if ($ENV{'FEDORA2_HOME'}) { 
     181    $type = "metslikefedora1"; 
     182    } 
     183    else { 
     184    $type = "info:fedora/fedora-system:METSFedoraExt-1.1"; 
     185    } 
    180186 
    181187    my $arguments = "file \"$docmets_filename\" $type $server $username $password $protocol";