cdist-type__update_alternatives - Man Page
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
- path
Use this path for the given alternative
Boolean Parameters
- install
Add (update-alternatives --install) missing path to alternatives.
Examples
# Setup vim as the default editor __update_alternatives editor --path /usr/bin/vim.basic
See Also
cdist-type__debconf_set_selections(7), update-alternatives(8)
Authors
Nico Schottelius <nico-cdist--@--schottelius.org> Ander Punnar <ander@kvlt.ee>
Copying
Copyright (C) 2013 Nico Schottelius and 2020 Ander Punnar. 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.
Copyright
ungleich GmbH 2021
Referenced By
cdist-type__debconf_set_selections(7).
Jul 31, 2022 7.0.0 cdist