Control: tags -1 + moreinfo

On 19-03-10 05:05, J.M.Roth wrote:
> Sometimes, I feel more flexibility is needed concerning:
> - the order of execution of scripts/data
> - the order of execution of elements therein
> 
> I.e. for now it is hardcoded that scripts are run first and then data
> snippets are applied. What if I need to do the inverse?
> 
> Furthermure, for an upgrade to one version I can only specify one file
> that would have to contain all the snippets. I'd opt for a conf.d-style
> approach.
> 
> For the first wish, I wouldn't know right know how to fix.

I think (haven't tested) that both can already be achieved. You don't
need to use Debian package version numbers that really existed for your
package in the scripts/data dirs. The version numbers are compared with
dpkg --compare-versions, so you could extend the real version number
with sorting numbers in the data/scripts directory to force the sorting
as you wish. This could fix both your requirements.

Does this idea work for you? If what I say is true this bug could be closed.

Paul

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to