[dev] fortune block(s) broken

Rick Emery rick at emery.homelinux.net
Wed Oct 27 07:39:15 PDT 2004


The fortune blocks for literature and riddles are broken by the 'is_executable'
check. The check for '/usr/games/fortune literature' and /usr/games/fortune
riddles' returns false, so nothing is displayed.

I'm not sure how to get around this, other than maybe chopping off everything
after the space before checking 'is_executable'.

Thoughts?

-- 
Rick Emery

"When once you have tasted flight, you will forever walk the Earth
 with your eyes turned skyward, for there you have been, and there
 you will always long to return"
                                              -- Leonardo Da Vinci



More information about the dev mailing list