Re: [pkg-ntp] - where does /etc/default/ntpdate come from?
D. Pathirana wrote:
> I've been trying to figure out how the installation process of the
> package "ntpdate" works. After installation the configuration file
> "/etc/default/ntpdate" is created. But: I can not find any evidence of
> it being used throughout the whole debian directory in the source-package.
>
> Actually there IS THE file in "debian/ntpdate.default" but is never
> refered in the rules file or elsewhere.
>
> I believe it has something to do with .default suffix but I was not able
> to find any docs about what and how it is going on. So where does the
> magic happen?
man dh_installinit:
If a file named debian/package.default exists, then it is installed
into etc/default/package in the package build directory, with "package"
replaced by the package name.
--
Felipe Sateler
Reply to: