Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify documentation for enable pseudo-variable #5659

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions doc/pages/Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,11 @@ the package being defined.
resolved direct dependencies of the package
- <a id="pkgvar-installed">`installed`</a>:
whether the package is installed
- <a id="pkgvar-enable">`enable`</a>:
takes the value "enable" or "disable" depending on whether the package is
installed
kit-ty-kate marked this conversation as resolved.
Show resolved Hide resolved
- <a id="pkgvar-enable">`enable`</a>: is not a variable.
It takes the value "enable" or "disable" depending on whether the package is
installed. Used with the combination operator `+`,
`name1+name2+name3:enable` is syntactic sugar for
`name1+name2+name3:installed?enable:disable`.
- <a id="pkgvar-pinned">`pinned`</a>: whether the package is pinned
- <a id="pkgvar-dirs">`bin`, `sbin`, `lib`, `man`, `doc`, `share`, `etc`</a>:
the corresponding directories for this package (similar to
Expand Down
2 changes: 2 additions & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ users)

## Doc

* Clarify documentation for `enable` pseudo-variable

## Security fixes

# API updates
Expand Down
Loading