Package: fortunes Version: 1:1.99.1-3 Followup-For: Bug #308602 It looks like it's by design fortune dislikes your .cookies; here's a patch to change it:
--- fortune.c.orig 2006-10-18 18:14:09.000000000 +0200
+++ fortune.c 2006-10-18 18:14:16.000000000 +0200
@@ -521,11 +521,6 @@
sp = file;
else
sp++;
- if (*sp == '.')
- {
- DPRINTF(2, (stderr, "FALSE (file starts with '.')\n"));
- return FALSE;
- }
if ((sp = strrchr(sp, '.')) != NULL)
{
sp++;
As you can see, it's quite deliberately disallowing your cookie file. From
observed behaviour, it can cope just fine if you remove those five lines.
Before applying the patch, be sure to understand *why* fortune does this,
because I don't.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to
en_GB.ISO-8859-1)
Versions of packages fortunes depends on:
ii fortune-mod 1:1.99.1-3 provides fortune cookies on demand
ii fortunes-min 1:1.99.1-3 Data files containing fortune cook
fortunes recommends no packages.
-- no debconf information
--
In a perfect world... spammers would get caught, go to jail, and share
a cell with many men who have enlarged their penisses, taken Viagra
and are looking for a new relationship.
Jonas Kölker <[EMAIL PROTECTED]> <URL:http://jonaskoelker.homeunix.org/>
signature.asc
Description: Digital signature

