Re: Conditional entries with dbconfig-common
Niko Tyni dijo [Fri, May 30, 2014 at 10:08:38AM +0300]:
> (threading manually, hope that works)
Work it did!
> FWIW this is what we're using in request-tracker4:
> http://anonscm.debian.org/gitweb/?p=pkg-request-tracker/request-tracker4.git;a=blob_plain;f=debian/scripts/dbconfig.template
>
> So the generated configuration file ends up with an if clause comparing
> seemingly constant strings. It's not very clean either but it's the best
> I could come up with.
>
> Hope this helps,
OK, I stuttered on this point for several weeks, sure there _had_ to
be a better way. But with this confirmation, I finished the change and
uploaded the package ;-)
Thx!
Reply to: