Changeset 1146 for trunk/contrib

Show
Ignore:
Timestamp:
05/11/08 16:54:15 (7 months ago)
Author:
rats
Message:

* Fixed #1242: Method "Fedora" in ispcp-vrl-traff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/contrib/check-perl-modules

    r871 r1146  
    22 
    33# ispCP ω (OMEGA) a Virtual Hosting Control Panel 
    4 # Copyright (c) 2006-2007 by isp Control Panel 
     4# Copyright (c) 2006-2008 by isp Control Panel 
    55# http://isp-control.net 
    66# 
     
    3838 
    3939for $mod (@needed) { 
    40  
    4140    print STDERR "Checking for '$mod'...\t"; 
    4241 
    4342    if (eval "require $mod") { 
    44  
    4543        $mod -> import(); 
    46  
    4744        printf " Ok.\n"; 
    48  
    4945    } else { 
    50  
    5146        print STDERR "CRITICAL ERROR: Module '$mod' WAS NOT FOUND !\n" ; 
    5247 
     
    5449 
    5550        if ($mod_missing eq '') { 
    56  
    5751            $mod_missing .= $mod; 
    58  
    5952        } else { 
    60  
    6153            $mod_missing .= ", $mod"; 
    62  
    6354        } 
    6455    } 
    65  
    6656} 
    6757 
    6858if ($mod_err eq '_on_') { 
    69  
    70     print STDERR "\nModules [$mod_missing] WERE NOT FOUND in your 
    71 system...\n"; 
    72  
     59    print STDERR "\nModules [$mod_missing] WERE NOT FOUND in your system...\n"; 
    7360    print STDERR "\nPlease INSTALL them before using isCP Omega !\n"; 
    74  
    7561    exit 1; 
    76  
    7762} else { 
    78  
    7963    $| = 1; 
    80  
    8164} 
    8265