Search
j0ke.net Open Build Service
>
Projects
>
server:php:applications
>
horde-groupware-webmail
> horde-3.3.4-php5_exec.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File horde-3.3.4-php5_exec.patch of Package horde-groupware-webmail
--- admin/setup/scripts.php.old 2007-11-07 15:09:30.000000000 +0100 +++ admin/setup/scripts.php 2007-11-07 15:09:57.000000000 +0100 @@ -48,7 +48,7 @@ if ($setup == 'conf' && $type == 'php') { /* A bit ugly here, save PHP code into a string for creating the script * to be run at the command prompt. */ - $data = '#!/usr/bin/php' . "\n"; + $data = '#!/usr/bin/php5' . "\n"; $data .= '<?php' . "\n"; foreach ($_SESSION['_config'] as $app => $php) { $path = $registry->get('fileroot', $app) . '/config'; --- po/translation.php.old 2007-11-07 15:11:24.000000000 +0100 +++ po/translation.php 2007-11-07 15:11:35.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/php -q +#!/usr/bin/php5 -q <?php /** * Translation helper application for the Horde framework. --- scripts/alarms.php.old 2007-11-07 15:11:59.000000000 +0100 +++ scripts/alarms.php 2007-11-07 15:12:06.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env php +#!/usr/bin/php5 <?php /** * $Horde: horde/scripts/alarms.php,v 1.2 2007/03/01 22:24:50 chuck Exp $ --- scripts/upgrades/migrate_user_categories.php.old 2007-11-07 15:12:37.000000000 +0100 +++ scripts/upgrades/migrate_user_categories.php 2007-11-07 15:12:46.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/php -q +#!/usr/bin/php5 -q <?php /** * $Horde: horde/scripts/upgrades/migrate_user_categories.php,v 1.1 2006/09/02 02:13:16 chuck Exp $ --- scripts/upgrades/move_history_out_of_datatree.php.old 2007-11-07 15:13:16.000000000 +0100 +++ scripts/upgrades/move_history_out_of_datatree.php 2007-11-07 15:13:23.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/php +#!/usr/bin/php5 <?php /** * $Horde: horde/scripts/upgrades/move_history_out_of_datatree.php,v 1.4 2006/12/09 02:36:53 chuck Exp $ --- po/README.orig 2009-05-01 12:12:35.000000000 +0200 +++ po/README 2009-05-02 11:11:05.000000000 +0200 @@ -24,7 +24,7 @@ ``horde/po`` your working directory in order to run the commands quoted below. But you can run the script from any directory, just adapt the directory to the script. See _Prerequisites if your PHP binary is not located in -``/usr/bin/php``. +``/usr/bin/php5``. For a list of available commands run:: @@ -44,11 +44,11 @@ To run this script you'll need a PHP command line executable with `gettext support`_ compiled in, and the basic `PEAR`_ libraries. The script expects your -PHP executable to be at ``/usr/bin/php``. If your executable is at another +PHP executable to be at ``/usr/bin/php5``. If your executable is at another place, either edit the first line of ``translation.php`` to reflect your location or call the script like:: - /usr/local/bin/php translation.php. + /usr/bin/php5 translation.php. You'll need the `gettext`_ package version 0.12 or greater.