Tags: patch

Anybody wants to fix this?

I've just tried installing doodle from Sid on my Sarge system and I see
this silly bug is still here. A fixed cron script attached.

* checks fist for the binary (in case the package is deleted

* gives sane defaults in case the confi file does not exist

If you think that there could be no sane defaults, please ammend the
script to check for an explicit "RUN_DOODLE" variable which must be set
in the defaults file. 

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
[EMAIL PROTECTED]  http://www.xorcom.com
#!/bin/sh

DOODLE_PATH=/home
DOODLE_DBPATH=/var/lib/doodle/doodle.db

if [ ! -x /usr/bin/doodle ]
then
        exit 0
fi

if [ -r /etc/default/doodle ]
then
  . /etc/defaults/doodle
fi

doodle -b "$DOODLE_PATH"

if [ -f "$DOODLE_DBPATH" ]
then 
  chown root.doodle "$DOODLE_DBPATH"
fi

Reply via email to