On Sun, 21 Mar 2010, Hannes Magnusson wrote:

> Do note that I added the phd_php package as a requirement in the
> comments in build.sh

  ah, quite right.  but why not just enhance the build.sh script to
make it bulletproof, along the lines of:

=====
#!/bin/sh

# svn co http://svn.php.net/repository/phpdoc/modules/doc-en
# pear install doc.php.net/phd
# pear install doc.php.net/phd_php
# cd doc-en

pear info doc.php.net/PhD > /dev/null 2>&1
if [ $? > 0 ] ; then
    echo "You need to install the PEAR package PhD first, exiting."
    exit
fi

pear info doc.php.net/PhD_PHP > /dev/null 2>&1
if [ $? > 0 ] ; then
    echo "You need to install the PEAR package PhD_PHP first, exiting."
    exit
fi

... etc etc ...

=====

rday
--


========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

Reply via email to