mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-03 21:22:11 +00:00
man: Better document install scripts
This commit is contained in:
parent
8eb4be6c78
commit
03d07e200f
11
APKBUILD.5
11
APKBUILD.5
@ -515,8 +515,15 @@ An install script must be written in shell and must have a
|
|||||||
.Li Dq #!/bin/sh
|
.Li Dq #!/bin/sh
|
||||||
interpreter declaration as the first line. The
|
interpreter declaration as the first line. The
|
||||||
.Cm install
|
.Cm install
|
||||||
variable must contain the install scripts needed by the package. The different
|
variable must contain the install scripts needed by the package.
|
||||||
actions available are as follows:
|
|
||||||
|
The install script will be run inside the root filesystem where the package is
|
||||||
|
being installed. A single argument will be passed to all scripts, which is the
|
||||||
|
version of the package being installed. The pre-upgrade and post-upgrade
|
||||||
|
scripts will have an additional second argument, which is the old version that
|
||||||
|
is currently installed on the system.
|
||||||
|
|
||||||
|
The different actions that may have install scripts specified are as follows:
|
||||||
|
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Ic $pkgname.pre-install
|
.It Ic $pkgname.pre-install
|
||||||
|
Loading…
Reference in New Issue
Block a user