< prev index next >

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

Print this page

        

*** 1,7 **** #!/bin/sh ! # prerm script for APPLICATION_NAME # # see: dh_installdeb(1) set -e --- 1,7 ---- #!/bin/sh ! # prerm script for APPLICATION_PACKAGE # # see: dh_installdeb(1) set -e
*** 15,32 **** # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|deconfigure) ! if [ "RUNTIME_INSTALLER" != "true" ]; then ! echo Removing shortcut ! ADD_LAUNCHERS_REMOVE ! xdg-desktop-menu uninstall --novendor INSTALLATION_DIRECTORY/APPLICATION_FS_NAME/APPLICATION_LAUNCHER_FILENAME.desktop ! FILE_ASSOCIATION_REMOVE ! fi ;; failed-upgrade) ;; --- 15,29 ---- # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package + UTILITY_SCRIPTS + case "$1" in remove|upgrade|deconfigure) ! DESKTOP_COMMANDS_UNINSTALL ;; failed-upgrade) ;;
< prev index next >