PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #4846

pear shell script lost after upgrade to 1.4a12

Details

Submitted2005-07-16 20:41 UTC
Fromxueron at xueron dot com
StatusNo Feedback
PackagePEAR
PHP Version4.3.2
OSRedhat EL AS3 update 5
Roadmaps(Not assigned)

Comments

[2005-07-16 20:41 UTC] xueron at xueron dot com

Description:
------------
I use pear command line to upgrade PEAR to 1.4a12, and it do successfull.

But then, I found my pear shell script lost. and /usr/bin/pear wat not exists.

I read the package.xml in PEAR 1.4a12 and found that when install scripts, the commands are different between windows and non-windows (see codes bellow).

I do not know if it is caused by this mistake.

Reproduce code:
---------------
<file role="script" baseinstalldir="/" platform="!windows" install-as="pear" name="scripts/pear.sh">
<replace from="@php_bin@" to="php_bin" type="pear-config"/>
<replace from="@php_dir@" to="php_dir" type="pear-config"/>
<replace from="@pear_version@" to="version" type="package-info"/>
<replace from="@include_path@" to="php_dir" type="pear-config"/>
</file>
......
<file role="script" baseinstalldir="/" platform="windows" install-as="pear.bat" name="scripts/pear.bat">
<replace from="@bin_dir@" to="bin_dir" type="pear-config"/>
<replace from="@php_bin@" to="php_bin" type="pear-config"/>
<replace from="@include_path@" to="php_dir" type="pear-config"/>
</file>