102. cdist-type__update_alternatives(7)

Configure alternatives

Nico Schottelius <nico-cdist--@--schottelius.org>

102.1. 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”.

102.2. REQUIRED PARAMETERS

path
Use this path for the given alternative

102.3. EXAMPLES

# Setup vim as the default editor
__update_alternatives editor --path /usr/bin/vim.basic

102.4. SEE ALSO

102.5. 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).