src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst
branchJDK-8200758-branch
changeset 57808 013547ae70ac
parent 57256 d7c27451f759
child 58301 e0efb29609bd
--- a/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst	Mon Aug 19 17:39:48 2019 -0400
+++ b/src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.postinst	Mon Aug 19 20:31:10 2019 -0400
@@ -25,23 +25,6 @@
             xdg-desktop-menu install --novendor INSTALLATION_DIRECTORY/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME.desktop
 FILE_ASSOCIATION_INSTALL
         fi
-        if [ "SERVICE_HINT" = "true" ]; then
-            echo Installing daemon
-            cp INSTALLATION_DIRECTORY/APPLICATION_FS_NAME/APPLICATION_PACKAGE.init /etc/init.d/APPLICATION_PACKAGE
-
-            if [ -x "/etc/init.d/APPLICATION_PACKAGE" ]; then
-                update-rc.d APPLICATION_PACKAGE defaults
-
-                if [ "START_ON_INSTALL" = "true" ]; then
-                    if which invoke-rc.d >/dev/null 2>&1; then
-                        invoke-rc.d APPLICATION_PACKAGE start
-                    else
-                        /etc/init.d/APPLICATION_PACKAGE start
-                    fi
-                fi
-	        fi
-
-        fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
@@ -53,9 +36,4 @@
     ;;
 esac
 
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
 exit 0