$this
);
}
+
+ /**
+ * Return the environment for this tree.
+ *
+ * @return Components_Pear_InstallLocation The installation environment.
+ */
+ public function getEnvironment()
+ {
+ return $this->_environment;
+ }
}
\ No newline at end of file
$environment = $options['install'];
}
$arguments = $this->_config->getArguments();
- $this->_factory
+ $tree = $this->_factory
->createTreeHelper(
$environment, dirname(realpath($arguments[0])), $options
- )->installTreeInEnvironment(
- realpath($arguments[0]) . DIRECTORY_SEPARATOR . 'package.xml'
);
+ $tree->getEnvironment()->provideChannel('pear.horde.org');
+ $tree->installTreeInEnvironment(
+ realpath($arguments[0]) . DIRECTORY_SEPARATOR . 'package.xml'
+ );
}
}