Am 10.06.22 um 11:00 schrieb Raphael Hertzog:

To me it looks like that the symlinks created for the "alias" entries
should be removed when you remove the package if they point to the
alternative provided by the current package

I think this would break the
apt install foo; apt remove foo; apt install foo
case, as then you wouldn't have the symlink setup anymore.

It might be better to do this cleanup in the postinst of wireplumber before the #DEBHELPER# stanza. If it finds a dangling symlink which does *not* point to its own service, then remove this dangling symlink before #DEBHELPER#, i.e. before the dh_installsystemd bits.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to