On Thu, Aug 05, 2004, Alexander Belck wrote:
>Some perl scripts use #!/usr/bin/perl
>
>Could I just symlink ln -s /opkg/bin/perl /usr/bin/ ?

I've done this with links to /usr/local/bin/perl with reasonable
success.  Most of the systems we use already have /usr/bin/perl
(e.g. they're Linux).

>If the perl script is executed by a user that DO NOT have previosly run
>
>/opkg/etc/rc --evall all env

This depends on whether the perl scripts make system() calls that depend on
the PATH that's set (and spelling --eval correctly :-).  Most of the
scripts I write check to see if the OpenPKG environment has been set, and
if it hasn't, they set it explicitly.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

When only cops have guns, it's called a ``police state''.
        -- Claire Wolfe, "101 Things To Do Until The Revolution"
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to