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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to