author | herrick |
Tue, 24 Sep 2019 13:41:16 -0400 | |
branch | JDK-8200758-branch |
changeset 58301 | e0efb29609bd |
parent 57808 | 013547ae70ac |
child 58607 | 7451b17b40d3 |
permissions | -rw-r--r-- |
57038 | 1 |
#!/bin/sh |
58301
e0efb29609bd
8225249 : LinuxDebBundler and LinuxRpmBundler should share more code
herrick
parents:
57808
diff
changeset
|
2 |
# postinst script for APPLICATION_PACKAGE |
57038 | 3 |
# |
4 |
# see: dh_installdeb(1) |
|
5 |
||
6 |
set -e |
|
7 |
||
8 |
# summary of how this script can be called: |
|
9 |
# * <postinst> `configure' <most-recently-configured-version> |
|
10 |
# * <old-postinst> `abort-upgrade' <new version> |
|
11 |
# * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
|
12 |
# <new-version> |
|
13 |
# * <postinst> `abort-remove' |
|
14 |
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
|
15 |
# <failed-install-package> <version> `removing' |
|
16 |
# <conflicting-package> <version> |
|
17 |
# for details, see http://www.debian.org/doc/debian-policy/ or |
|
18 |
# the debian-policy package |
|
19 |
||
20 |
case "$1" in |
|
21 |
configure) |
|
58301
e0efb29609bd
8225249 : LinuxDebBundler and LinuxRpmBundler should share more code
herrick
parents:
57808
diff
changeset
|
22 |
DESKTOP_COMMANDS_INSTALL |
57038 | 23 |
;; |
24 |
||
25 |
abort-upgrade|abort-remove|abort-deconfigure) |
|
26 |
;; |
|
27 |
||
28 |
*) |
|
29 |
echo "postinst called with unknown argument \`$1'" >&2 |
|
30 |
exit 1 |
|
31 |
;; |
|
32 |
esac |
|
33 |
||
34 |
exit 0 |