Commit 7739df1c authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

lang: Allow reordering the installation

parent c749c858
......@@ -416,8 +416,19 @@ deps::
Additional dependencies for the package. The dependencies are merged
together as if all the sources were put into a table (eg. all of
them must be fulfilled). There's no way to remove dependencies.
after-*::
before-*::
order-after::
order-before::
Usually, all dependencies of a package are installed before the
package. Sometimes, it may be desirable to break this order and
these options allow that. Both of them list packages after or before
which the current package shall be installed, in a table. This
allows breaking dependency cycles. These options are mere hint, the
updater may decide to not follow them if it is not possible to
satisfy. Note that this has effect only on running the pre-* and
post-* scripts and hooks, since all the files of all updated
packages are merged into the system together.
pre-*::
post-*::
A hook to be run after or before a step. The value may be a single
function or a table of functions. All the functions (from the table
or merged from multiple `Package` commands) are run, in unspecified
......
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