Package: dovecot-common
Version: 1.0.rc26-3
Severity: normal
Tags: patch
Hi
when configuring dovecot-common, following errors are printed:
Setting up dovecot-common (1.0.rc26-3) ...
[: 64: missing ]
[: 64: missing ]
[: 64: missing ]
You already have ssl certs for dovecot.
Starting mail server: dovecot.
It is caused by missing space before ] in if statement, attached patch
fixes this.
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages dovecot-common depends on:
ii adduser 3.102 Add and remove users and groups
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii libkrb53 1.4.4-7 MIT Kerberos runtime libraries
ii libldap2 2.1.30-13.4 OpenLDAP libraries
ii libmysql 5.0.32-7 mysql database client library
ii libpam-r 0.79-4 Runtime support for the PAM librar
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libpq4 8.1.8-1 PostgreSQL C client library
ii libsqlit 3.3.8-1.1 SQLite 3 shared library
ii libssl0. 0.9.8e-4 SSL shared libraries
ii openssl 0.9.8e-4 Secure Socket Layer (SSL) binary a
ii ucf 2.0020 Update Configuration File: preserv
ii zlib1g 1:1.2.3-13 compression library - runtime
dovecot-common recommends no packages.
-- no debconf information
--- /tmp/dovecot-common.postinst 2007-03-13 09:15:30.000000000 +0100
+++ dovecot-common.postinst 2007-03-13 09:15:35.000000000 +0100
@@ -9,7 +9,7 @@
# configuration file in /etc/dovecot.
ucf --three-way /usr/share/dovecot/$conffile /etc/dovecot/$conffile
ucfr dovecot-common /etc/dovecot/$conffile
- if [ "$conffile" != "dovecot.conf"]; then
+ if [ "$conffile" != "dovecot.conf" ]; then
chmod 0600 /etc/dovecot/$conffile
fi
done