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

Update changes with system.package_manager #2663

Merged
merged 1 commit into from Jul 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions reference/conanfile/tools/system/package_manager.rst
Expand Up @@ -35,8 +35,8 @@ System name. In the example above, if we are running on Ubuntu Linux, Conan will
all the calls except for the ``Apt()`` one and will only try to install the packages using the
``apt-get`` tool. Conan uses the following mapping by default:

* *Apt* for **Linux** with distribution names: *ubuntu*, *debian*
* *Yum* for **Linux** with distribution names: *pidora*, *scientific*, *xenserver*, *amazon*, *oracle*, *amzn*, *almalinux*
* *Apt* for **Linux** with distribution names: *ubuntu*, *debian* or *raspbian*
* *Yum* for **Linux** with distribution names: *pidora*, *scientific*, *xenserver*, *amazon*, *oracle*, *amzn*, *almalinux* or *rocky*
* *Dnf* for **Linux** with distribution names: *fedora*, *rhel*, *centos*, *mageia*
* *Brew* for **macOS**
* *PacMan* for **Linux** with distribution names: *arch*, *manjaro* and when using **Windows** with *msys2*
Expand Down Expand Up @@ -92,8 +92,9 @@ affect how these tools are invoked:
* ``tools.system.package_manager:mode``: mode to use when invoking the package manager
tool. There are two possible values:

* ``"check"``: will not try to update the package manager database or install any
packages in any case. This is the default value.
* ``"check"``: it will just check for missing packages at most and will not try to
update the package manager database or install any packages in any case. This is the
default value.

* ``"install"``: it will allow Conan to perform update or install operations.

Expand Down