Skip to contentSkip to conversation

pkg_postinst order

DISCUSSION Steffen Sledz 2 participants 2 messages May 12, 2010

lore
Share & tools
lore
#0 lore raw

Is there any chance to sort own pkg_postinst *before* pkg_postint inherited from update-rc.d?

Steffen

#1 lore raw
Quoted 1 line · Steffen Sledz

Is there any chance to sort own pkg_postinst *before* pkg_postint inherited from update-rc.d?

Not easily, no.

Obviously you could patch update-rc.d.bblcass to allow this, but that class is only really there as a convenience to save typing: if its behaviour isn't quite what you want then you are probably better off not using the class at all and implementing the bits that you do want by hand.

p.