Ticket #759 (closed Bugs: fixed)

Opened 3 years ago

Last modified 2 years ago

Linux specific: Program location dependencies

Reported by: pneumann@gmail.com Assigned to: RobThomas
Priority: minor Milestone: 2.2
Component: Core Version: SVN-HEAD
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Hello.

It would be nice to make freepbx not depend that some programs are installed in a specific location, like php or bash.

$ cd freepbx-2.1-beta1/amp_conf

$ grep -R "/usr/bin/php -q" *|awk -F: '{print $1}'|xargs sed -i.bak 's|/usr/bin/php -q|/usr/bin/env php|'

$ grep -R "/usr/bin/php" *|awk -F: '{print $1}'|xargs sed -i.bak 's|/usr/bin/php|/usr/bin/env php|'

$ grep -R "/bin/bash" *|awk -F: '{print $1}'|xargs sed -i.bak 's|/bin/bash|/usr/bin/env bash|'

thanks!

Change History

05/01/06 13:48:18 changed by pneumann@gmail.com

Actually, bash is not even needed at least for there two:

htdocs/admin/bounce_op.sh htdocs_panel/safe_opserver

please make it depend on "sh" instead of "bash"

i.e. #!/bin/sh.

(amportal looks like it contains bash specificig things.)

05/12/06 22:17:04 changed by RobThomas

  • owner set to RobThomas.
  • status changed from new to assigned.
  • version changed from 2.1 to SVN-HEAD.
  • component changed from - choose - to Core.
  • milestone changed from 2.1 to 2.2.

I think this is a 2.2 thing, but I see no reason why not to fix it.

06/25/06 16:48:40 changed by RobThomas

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r2090

01/08/07 11:46:44 changed by

  • milestone deleted.

Milestone 2.2 deleted

01/08/07 13:05:19 changed by vgster

  • milestone set to 2.2.