--- a/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst Mon Feb 04 15:00:29 2019 -0500
+++ b/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst Wed Feb 06 09:00:28 2019 -0500
@@ -19,7 +19,7 @@
case "$1" in
configure)
- if [ "CREATE_JRE_INSTALLER" != "true" ]; then
+ if [ "RUNTIME_INSTALLER" != "true" ]; then
echo Adding shortcut to the menu
SECONDARY_LAUNCHERS_INSTALL
xdg-desktop-menu install --novendor INSTALLATION_DIRECTORY/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME.desktop