Dear Andreas, Thanks for helping on this package!
On Mon, Jul 4, 2016 at 11:35 AM, Andreas Beckmann <a...@debian.org> wrote: > On 2016-07-04 09:31, Roger Shimizu wrote: >> The fix may be one of the following: >> - move the config from /etc/ to somewhere else, such as /var/cache >> - use debconf to get the password from user when install, as Andreas >> said in previous email > > Ship a config file template in /usr/share/$PACKAGE/... > The file (whereever you place it) created by the maintainer scripts is > *not* shipped by the package but only managed by the maintainer scripts. > > Maybe look into using ucf to manage it. I find the docs: https://www.debian.org/doc/manuals/maint-guide/dother.en.html#conffiles it mentioned one solution is: "Create a file generated by the maintainer scripts under the /etc directory" 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. Cheers, -- Roger Shimizu, GMT +2 Cape Town (in DebConf16) PGP/GPG: 4096R/6C6ACD6417B3ACB1