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

Removing self-managed conffiles?


I have a package with a bunch of configuration files that are managed
by my maintainer scripts and not by dpkg. I now need one of them
(a.conf) to vanish.

How do I do this in a clean way? I am thinking about the following:

(1) Let the new package version know about the md5sum of the last
    version(s) of a.conf that were in the package.
(2) If one of the md5sums matches, the file has not been changed,
    remove it.
(3) If none of the md5sums matches, the file has locally been changed,
    rename it to a.conf.package-old

Is that acceptable? Or is there anything easier, more elegant, more
policy compliant?


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

Reply to: