>Is the following test in cyrus-common.postinst (from 2.4) right?
>       if [ -f /usr/lib/cyrus/cyrus-db-types.active ]; then
>            /usr/lib/cyrus/bin/upgrade-db
.....
> Should it be ! -f?

Narrowly, no, since debian/cyrus-upgrade-db, known as upgrade-db after 
installation, has 
upgradealldb /usr/lib/cyrus/cyrus-db-types.txt 
/usr/lib/cyrus/cyrus-db-types.active    
as it's top level action.  So it needs both files.

But it doesn't seem that deleting the .active file works to make it go through 
an upgrade.  I recall reading that upgrades were more automatic in 2.4, and 
judging from my logs it does seem that my non-bdb databases did get upgraded.
_______________________________________________
Pkg-Cyrus-imapd-Debian-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-imapd-debian-devel

Reply via email to