Commit 03d07e20 authored by A. Wilcox's avatar A. Wilcox Committed by Natanael Copa

man: Better document install scripts

parent 8eb4be6c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment