php-src/pear/pear.in
2000-07-24 23:55:34 +00:00

20 lines
280 B
C++

#!@prefix@/bin/php -f
<?php // -*- C++ -*-
require_once "PEAR.php";
require_once "PEAR/Installer.php";
error_reporting(1);
$pkgfile = $argv[0];
if (!$pkgfile) {
die("Usage: pear <packagefile>\n");
}
$p = new PEAR_Installer();
$p->debug = true;
$p->install($pkgfile);
?>