Changeset 15015


Ignore:
Timestamp:
2008-02-27T16:46:13+13:00 (14 years ago)
Author:
davidb
Message:

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

File:
1 edited

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