/usr/share/php/PEAR/Installer/Role/Horde.php is in php-horde-role 1.0.1-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <?php
/**
* PEAR_Installer_Role_Horde
*
* Copyright 2010-2012 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/licenses/lgpl21.
*
* @author Michael Slusarz <slusarz@horde.org>
* @category Horde
* @license http://www.horde.org/licenses/lgpl21 LGPL
* @package Role
*/
/**
* @author Michael Slusarz <slusarz@horde.org>
* @category Horde
* @license http://www.horde.org/licenses/lgpl21 LGPL
* @package Role
*/
class PEAR_Installer_Role_Horde extends PEAR_Installer_Role_Common
{
function setup(&$installer, $pkg, $atts, $file)
{
/* Check for proper setup. */
$pear_config = PEAR_Config::singleton();
if (!$pear_config->get('horde_dir')) {
return PEAR::raiseError('Missing "horde_dir" configuration in PEAR.');
}
}
}
|