Bug#382069: cyrus-common-2.2: Cyrus daily cron script is never run because of the dot in the name

Henrique de Moraes Holschuh hmh at debian.org
Tue Aug 8 20:12:35 UTC 2006


On Tue, 08 Aug 2006, Benjamin Seidenberg wrote:
> Guilty. I'm the one who broke it. Will fix. We can't delete the old one
> since it is a conf file though...hmmm...

It is ugly, but here's how you do it:

preinst: if there, mv oldname newname, and warn the user with a message to
stderr.

The problem is the error unwind path. You *must* mv newname oldname if the
package install fails before the configure phase.  I don't exactly recall
the error unwind path for a conffile move.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh




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