On 2016-07-05 22:15, Roger Shimizu wrote: > So I need to remove the config entry in .install file, and move it to > .doc, so it will be installed to /usr/share/doc/<pkg> > just let the postinst script to generate a new config under /etc should be > fine.
Put the template into /usr/share/<pkg>, not /usr/share/doc, since /usr/share/doc may be excluded from installation. Policy 12.3: "Packages must not require the existence of any files in /usr/share/doc/ in order to function." Andreas