[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: conffiles



Hi

Is there a way to put something in DEBIAN directory  that will trigger the 
poped up question when overwriting config files
(during package installation) before running dpkg-deb --build  to generate 
the packge OR  is there a debhelper command (dh_..) that will trigger that 
prior to calling dpkg-deb

thanks

Zvi Dubitzky 
Email:dubi@il.ibm.com





From:   Russ Allbery <rra@debian.org>
To:     debian-mentors@lists.debian.org
Date:   31/08/2010 03:03
Subject:        Re: conffiles



Matthew Palmer <mpalmer@debian.org> writes:
> On Mon, Aug 30, 2010 at 10:01:46PM +0300, Zvi Dubitzky wrote:

>> I am having conffiles file placed in debian directory and holding the
>> configuration files ( full path) that should avoid being overwritten
>> when installing a package , Yet when I install the built package the
>> package config files are overwriting the existing config files at /etc
>> without popping out a question.

> You should never need to list files in /etc as conffiles, as they're
> detected and a conffiles written out at package build time (because
> Policy says all files in /etc are conffiles).

This is only true if you're using debhelper, and from previous messages I
believe the original poster is learning packaging by taking a more manual
approach.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact 
listmaster@lists.debian.org
Archive: 87iq2rk5ty.fsf@windlord.stanford.edu">http://lists.debian.org/87iq2rk5ty.fsf@windlord.stanford.edu




Reply to: