On 03.03.19 18:31, Carsten Leonhardt wrote: > I haven't used triggers yet so I'm not aware of all the details. If we > can be sure that the setup will be executed even when no local database > server will be installed because a remote server is used, then I'm all > for doing it at the end.
I see one problem here: postinst will start the director at its end, because up until now, the database is configured and ready before. If we change this, the (re)start of the director has to also be done in the trigger and not in the postinst. Question is: is the trigger system designed to be used like this? Or are we trying to fix a problem at the whole wrong level? Maybe apt/dpkg needs a change, where if a package is Recommends: but installed in the same action as the package recommending it, it should be treated as if it where a Depends:? Grüße, Sven.
signature.asc
Description: OpenPGP digital signature