--- a/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst Mon Mar 11 13:31:48 2019 -0400
+++ b/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst Mon Mar 11 14:44:00 2019 -0400
@@ -21,7 +21,7 @@
configure)
if [ "RUNTIME_INSTALLER" != "true" ]; then
echo Adding shortcut to the menu
-SECONDARY_LAUNCHERS_INSTALL
+ADD_LAUNCHERS_INSTALL
xdg-desktop-menu install --novendor INSTALLATION_DIRECTORY/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME.desktop
FILE_ASSOCIATION_INSTALL
fi