On Thu, 23 Nov 2023 16:36:28 GMT, Alexey Semenyuk <asemen...@openjdk.org> wrote:

> Fix uninstallation scripts in Linux installers to take action on desktop 
> files only if these desktop files are not owned by another package. This 
> prevents `xdg-mime uninstall`, `xdg-desktop-menu uninstall` commands from 
> execution in case of upgrades.
> 
> Borrowed helper shell script function from "launchers as services" for the 
> fix. Now on Linux there is shared code between "launchers as services" and 
> "desktop integration" subsystems - "common_utils.sh". Added 
> `ServiceAndDesktopTest.java` to test how they align.

Looks good.

-------------

Marked as reviewed by almatvee (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16800#pullrequestreview-1751505209

Reply via email to