cdist/cdist/conf/type/__update_alternatives/man.rst

47 lines
991 B
ReStructuredText
Raw Normal View History

cdist-type__update_alternatives(7)
==================================
NAME
----
cdist-type__update_alternatives - Configure alternatives
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
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
SEE ALSO
--------
2016-06-30 13:12:32 +00:00
:strong:`cdist-type__debconf_set_selections`\ (7), :strong:`update-alternatives`\ (8)
AUTHORS
-------
Nico Schottelius <nico-cdist--@--schottelius.org>
COPYING
-------
2016-08-10 16:15:54 +00:00
Copyright \(C) 2013 Nico Schottelius. You can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.