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

Re: Incorrect use of dpkg conffile suffixes and lintian checks



On Mon, 21 Jan 2008, Joey Hess wrote:
> The shell functions already have a fairly reasonable interface.
> 	rm_conffile mypackage "/etc/pkg/conf.1"
> 	prep_mv_conffile mypackage "/etc/pkg_conf.1"
> 	mv_conffile "/etc/pkg_conf.1" "/etc/pkg/conf.1"
> This is not the best possible interface; it would of course be better if
> dpkg somehow figured this out on its own, or failing that if there was a
> control file dpkg could read to tell it what to do. But this is the
> interface that we're using, and I see no need to copy around large
> blocks of shell code to use it.

Maybe we could integrate those shell functions into the dpkg package
itself until dpkg is fixed to handle them better. At least, dpkg could
replace them with no-op when the proper support is in place.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


Reply to: