[dev] shebang in horde commands

Remi Collet remi at fedoraproject.org
Sun Feb 10 16:45:02 UTC 2013


Le 10/02/2013 17:15, Jan Schneider a écrit :

> What's wrong with "/usr/bin/env php" that we should change it on PEAR
> installs?

Nothing really wrong.

It's just a packaging Guideline / best practice.

With /usr/bin/env, rpm will add a void dependency on /usr/bin/env (and
will not detect the need of php-cli)

With /usr/bin/php, rpm add the right dependency.

This is just to avoid a lot of hacks in our spec file.


Regards,
Remi.



More information about the dev mailing list