Package: doodle
Version: 0.6.2-3
Followup-For: Bug #309120

I've attached a patch to fix this problem to this mail.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages doodle depends on:
ii  adduser                       3.63       Add and remove users and groups
ii  libdoodle1                    0.6.2-3    desktop search engine (library)

-- no debconf information
diff -u debian/doodle.postinst debian-patched/doodle.postinst
--- debian/doodle.postinst      2005-06-04 17:13:42.000000000 +0200
+++ debian-patched/doodle.postinst      2005-06-04 17:19:27.000000000 +0200
@@ -24,10 +24,11 @@
        chown root.$DOODLE_GROUP $DOODLE_DBPATH
 
        chmod 0750 $DOODLE_DBPATH
-       chmod 0660 $DOODLE_DBPATH/doodle.db
 
-       if [ ! -e $DOODLE_DBPATH/doodle.db ]
+       if [ -e $DOODLE_DBPATH/doodle.db ]
        then
+               chmod 0660 $DOODLE_DBPATH/doodle.db
+       else
 cat << EOF
 
 WARNING: You should run '$DOODLE_UPDATEDB' as root. doodle will not work

Reply via email to