Package: nanoblogger
Version: 3.2.3-2
Severity: minor
Tags: patch
The fortune plugin does not work when nb is invoked from cron. The
reason is rather obvious:
${FORTUNE_CMD:=fortune -s}
won't work due to cron's PATH setting, adding the full path fixes the
problem - cf. the patch below.
gregor
--- fortune.sh.orig 2005-10-04 16:28:47.000000000 +0200
+++ fortune.sh 2005-10-04 16:29:23.000000000 +0200
@@ -13,3 +13,3 @@
# Fortune command, use "-s" for short fortunes
-: ${FORTUNE_CMD:=fortune -s}
+: ${FORTUNE_CMD:=/usr/games/fortune -s}
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.31.20050730
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]