2013-06-19 16:49:43 +00:00
|
|
|
cdist-type__update_alternatives(7)
|
|
|
|
==================================
|
2016-05-20 06:50:56 +00:00
|
|
|
Configure alternatives
|
2013-06-19 16:49:43 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
2013-06-19 16:49:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
On Debian and alike systems update-alternatives(1) can be used
|
|
|
|
to setup alternatives for various programs.
|
|
|
|
One of the most common used targets is the "editor".
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
path
|
2013-06-19 16:49:43 +00:00
|
|
|
Use this path for the given alternative
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Setup vim as the default editor
|
|
|
|
__update_alternatives editor --path /usr/bin/vim.basic
|
2013-06-19 16:49:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-05-20 06:50:56 +00:00
|
|
|
- `cdist-type(7) <cdist-type.html>`_
|
|
|
|
- `cdist-type__debconf_set_selections(7) <cdist-type__debconf_set_selections.html>`_
|
2013-06-19 16:49:43 +00:00
|
|
|
- update-alternatives(8)
|
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2013 Nico Schottelius. Free use of this software is
|
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|