function setup(&$installer, $pkg, $atts, $file)
    {
        $this->installer = &$installer;
        $reg = &$this->installer->config->getRegistry();
        $package = $reg->getPackage($pkg->getPackage(), $pkg->getChannel());
        if ($package) {
            $filelist = $package->getFilelist();
            if (isset($filelist[$file]) && isset($filelist[$file]['md5sum'])) {
                $this->md5 = $filelist[$file]['md5sum'];
            }
        }
    }
function setup(&$installer, $pkg, $atts, $file)
    {
        $this->installer = &$installer;
        $reg = &$this->installer->config->getRegistry();
        $package = $reg->getPackage($pkg->getPackage(), $pkg->getChannel());
        if ($package) {
            $filelist = $package->getFilelist();
            if (isset($filelist[$file]) && isset($filelist[$file]['md5sum'])) {
                $this->md5 = $filelist[$file]['md5sum'];
            }
        }
    }
function setup ( & $ installer , $ pkg , $ atts , $ file ) { $ this -> installer = & $ installer ; $ reg = & $ this -> installer -> config -> getRegistry ( ) ; $ package = $ reg -> getPackage ( $ pkg -> getPackage ( ) , $ pkg -> getChannel ( ) ) ; if ( $ package ) { $ filelist = $ package -> getFilelist ( ) ; if ( isset ( $ filelist [ $ file ] ) && isset ( $ filelist [ $ file ] [ 'md5sum' ] ) ) { $ this -> md5 = $ filelist [ $ file ] [ 'md5sum' ] ; } } }
Do any unusual setup here
@param PEAR_Installer
@param PEAR_PackageFile_v2
@param array file attributes
@param string file name
Do any unusual setup here