packages: dovecot/dovecot.spec - fixes for trigger
arekm
arekm at pld-linux.org
Sat Sep 18 22:22:13 CEST 2010
Author: arekm Date: Sat Sep 18 20:22:13 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- fixes for trigger
---- Files affected:
packages/dovecot:
dovecot.spec (1.146 -> 1.147)
---- Diffs:
================================================================
Index: packages/dovecot/dovecot.spec
diff -u packages/dovecot/dovecot.spec:1.146 packages/dovecot/dovecot.spec:1.147
--- packages/dovecot/dovecot.spec:1.146 Sat Sep 18 22:14:07 2010
+++ packages/dovecot/dovecot.spec Sat Sep 18 22:22:08 2010
@@ -220,16 +220,18 @@
%{__sed} -i -e "s/^default_mail_env/mail_location/" /etc/dovecot/dovecot.conf
%triggerpostun -- dovecot < 1:2.0.0
-echo "Read http://wiki2.dovecot.org/Upgrading/2.0"
+i=0
for a in /etc/dovecot/dovecot-db-example.conf \
/etc/dovecot/dovecot-dict-sql-example.conf \
/etc/dovecot/dovecot-ldap-example.conf \
/etc/dovecot/dovecot-sql-example.conf \
/etc/dovecot/dovecot.conf; do
if [ -f "$a" ]; then
+ [ "$i" -eq 0 ] && echo "Read http://wiki2.dovecot.org/Upgrading/2.0"
+ i=1
echo "Trying to migrate $a config file to dovecot 2."
cp -a "$a" "$a-1.2.org"
- %{_sbindir}/doveconf -n -c "$a-1.2.org" > "$a"
+ %{_bindir}/doveconf -n -c "$a-1.2.org" > "$a"
fi
done
@@ -305,6 +307,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.147 2010/09/18 20:22:08 arekm
+- fixes for trigger
+
Revision 1.146 2010/09/18 20:14:07 arekm
- untested config 1.2->2.0 trigger
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dovecot/dovecot.spec?r1=1.146&r2=1.147&f=u
More information about the pld-cvs-commit
mailing list