[dev] fortune block(s) broken

Pavel Chytil pchytil at bme.ogi.edu
Wed Oct 27 11:19:45 PDT 2004


Hello,

this started working for me after I have find oput that in 
lib/Block/fortune.php
the exec poins to /usr/games/fortune which is in my case directory with 
all the
fortune, however the executable is in /usr/bin/fortune. After changing
/usr/games/fortune to /usr/bin/fortune everything is back to normal.

But this could be only me (and all other who blindly installing RPMS for
fortune)....

Pavel


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Rick Emery <rick at emery.homelinux.net>:
>
>> I'm not sure how to get around this, other than maybe chopping off 
>> everything
>> after the space before checking 'is_executable'.
>
> Sounds reasonable enough to me. That block is kind of a hack, anyways;
> I'd love
> to either ditch it or replace it with an interface into a Horde 
> quotes service
> with a potential fortune backend. Much safer/more robust.
>
> -chuck
>
> -- "But she goes not abroad in search of monsters to destroy." - John
> Quincy Adams
>
> -- Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the dev mailing list