1deb-preinst(5)                    dpkg suite                    deb-preinst(5)
2
3
4

NAME

6       deb-preinst - package pre-installation maintainer script
7

SYNOPSIS

9       DEBIAN/preinst
10

DESCRIPTION

12       A package can perform several pre-installation actions via maintainer
13       scripts, by including an executable preinst file in its control archive
14       (i.e. DEBIAN/preinst during package creation).
15
16       The script can be called in the following ways:
17
18       new-preinst install
19           Before the package is installed.
20
21       new-preinst install old-version new-version
22           Before removed package is upgraded.
23
24       new-preinst upgrade old-version new-version
25           Before the package is upgraded.
26
27       old-preinst abort-upgrade new-version
28           If postrm fails during upgrade or fails on failed upgrade.
29

SEE ALSO

31       dpkg(1).
32
33
34
351.20.9                            2021-04-13                    deb-preinst(5)
Impressum