2013-06-19 16:49:43 +00:00
|
|
|
cdist-type__update_alternatives(7)
|
|
|
|
==================================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__update_alternatives - Configure alternatives
|
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-06-17 19:28:16 +00:00
|
|
|
`cdist-type__debconf_set_selections(7) <cdist-type__debconf_set_selections.html>`_,
|
|
|
|
update-alternatives(8)
|
|
|
|
|
|
|
|
Full documentation at: <:cdist_docs:`index`>,
|
|
|
|
especially cdist type chapter: <:cdist_docs:`cdist-type`>.
|
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
2013-06-19 16:49:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
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).
|