< prev index next >

src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst

Print this page

        

@@ -1,7 +1,7 @@
 #!/bin/sh
-# postinst script for APPLICATION_NAME
+# postinst script for APPLICATION_PACKAGE
 #
 # see: dh_installdeb(1)
 
 set -e
 

@@ -17,16 +17,11 @@
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
 case "$1" in
     configure)
-        if [ "RUNTIME_INSTALLER" != "true" ]; then
-            echo Adding shortcut to the menu
-ADD_LAUNCHERS_INSTALL
-            xdg-desktop-menu install --novendor INSTALLATION_DIRECTORY/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME.desktop
-FILE_ASSOCIATION_INSTALL
-        fi
+DESKTOP_COMMANDS_INSTALL
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
     ;;
 
< prev index next >