cdist-type__update_alternatives(7)

cdist-type__update_alternatives7

Configure alternatives

Overview

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

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Authors

Nico Schottelius <[email protected]> Ander Punnar <[email protected]>

From cdist 7.0.0-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.