diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-15 14:22:35 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-03 08:24:18 +0000 |
commit | 03d07e200f37e08f882e64ef62cd09f8cb44f9d9 (patch) | |
tree | 3e993235c7c8c8accd05bddc7e051e093137e3dc | |
parent | 8eb4be6c782c1bb33ce01969e8fcbb04a2a214f0 (diff) | |
download | abuild-03d07e200f37e08f882e64ef62cd09f8cb44f9d9.tar.gz abuild-03d07e200f37e08f882e64ef62cd09f8cb44f9d9.tar.bz2 abuild-03d07e200f37e08f882e64ef62cd09f8cb44f9d9.tar.xz abuild-03d07e200f37e08f882e64ef62cd09f8cb44f9d9.zip |
man: Better document install scripts
-rw-r--r-- | APKBUILD.5 | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -515,8 +515,15 @@ An install script must be written in shell and must have a .Li Dq #!/bin/sh interpreter declaration as the first line. The .Cm install -variable must contain the install scripts needed by the package. The different -actions available are as follows: +variable must contain the install scripts needed by the package. + +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 .It Ic $pkgname.pre-install |