File: //scripts.20110531.215904.25158/patch_authen_libwrap
#!/usr/bin/perl
# cpanel - patch_authen_libwrap Copyright(c) 2010 cPanel, Inc.
# All rights Reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
BEGIN { unshift @INC, '/usr/local/cpanel'; }
eval 'local $SIG{__DIE__}; use Authen::Libwrap;';
use Cpanel::StringFunc ();
my $module_path = $INC{'Authen/Libwrap.pm'};
if ( $Authen::Libwrap::VERSION == 0.20 && $Authen::Libwrap::VERSION ne '0.20' && $module_path && $module_path ne '' && -f $module_path ) {
Cpanel::StringFunc::regsrep( $module_path, '^\$VERSION\s*=\s*0.20', '$VERSION = \'0.20\';' );
}