Changeset 8858


Ignore:
Timestamp:
09/03/10 02:59:31 (21 months ago)
Author:
GeorgeClark
Message:

Item9311: Shell installer also chokes on StringiferContrib
use Dependency.pm for common dependency handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/tools/extender.pl

    r8403 r8858  
    395395    } 
    396396 
    397     if ( eval "use $path; 1;" ) { 
     397    my $selfDep =  new Foswiki::Configure::Dependency( 
     398           module      => $path, 
     399           type        => 'perl', 
     400       ); 
     401 
     402    if ( $selfDep->studyInstallation() ) { 
    398403 
    399404        # Module is already installed 
     
    403408        my $moduleVersion = 0; 
    404409        { 
    405             no strict 'refs'; 
    406             $moduleVersion = ${"${path}::VERSION"}; 
     410            $moduleVersion = $selfDep->{installedVersion}; 
    407411 
    408412            # remove the SVN marker text from the version number, if it is there 
Note: See TracChangeset for help on using the changeset viewer.