- there can be only one triggerpostun
Changed files:
dovecot.spec -> 1.153
Summary(pl.UTF-8): Serwer IMAP i POP3 pisany głównie z myślą o bezpieczeństwie
Name: dovecot
Version: 2.0.4
Summary(pl.UTF-8): Serwer IMAP i POP3 pisany głównie z myślą o bezpieczeństwie
Name: dovecot
Version: 2.0.4
Epoch: 1
License: MIT (libraries), LGPL v2.1 (the rest)
Group: Networking/Daemons
Epoch: 1
License: MIT (libraries), LGPL v2.1 (the rest)
Group: Networking/Daemons
-%triggerpostun -- dovecot < 1:1.1
+%triggerpostun -- dovecot < 1:2.0.0
+# upgrading dovecot < 1.1
echo "Configuration change default_mail_env -> mail_location"
%{__sed} -i -e "s/^default_mail_env/mail_location/" /etc/dovecot/dovecot.conf
echo "Configuration change default_mail_env -> mail_location"
%{__sed} -i -e "s/^default_mail_env/mail_location/" /etc/dovecot/dovecot.conf
-
-%triggerpostun -- dovecot < 1:2.0.0
+# upgrading dovecot < 2.0
i=0
for a in /etc/dovecot/dovecot-db-example.conf \
/etc/dovecot/dovecot-dict-sql-example.conf \
i=0
for a in /etc/dovecot/dovecot-db-example.conf \
/etc/dovecot/dovecot-dict-sql-example.conf \