src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst
branchJDK-8200758-branch
changeset 57150 fa68c2ab636d
parent 57039 98d3963b0b7b
child 57256 d7c27451f759
--- 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