Bug#542833: cyrus-common-2.3: postrm file seems to be broken

Francis Russell francis+dbts at unchartedbackwaters.co.uk
Fri Aug 21 17:08:19 UTC 2009


Package: cyrus-common-2.3
Severity: normal


The cyrus-common-2.3 postrm script appears to be broken.

In the following code:

 [ "${RET}" = "true" ] && {
                                         /var/spool/sieve /etc/sieve ; do
                                        find "$i" -type f -exec rm -f '{}' \; || true
                                        find "$i" -type d -depth -not -name 'lost+found' -exec rmdir '{}' \; || true
                                done
                                # Remove database type information
                                rm -f /usr/lib/cyrus/cyrus-*.active
                        }

it looks like there should be 'for i in' before '/var/spool/sieve'.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30.5 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list