1CDIST-TYPE__UPDATE_ALTERNATIVES(7) cdist CDIST-TYPE__UPDATE_ALTERNATIVES(7)
2
3
4
6 cdist-type__update_alternatives - Configure alternatives
7
9 On Debian and alike systems update-alternatives(1) can be used to setup
10 alternatives for various programs. One of the most common used targets
11 is the "editor".
12
14 path Use this path for the given alternative
15
17 install
18 Add (update-alternatives --install) missing path to alterna‐
19 tives.
20
22 # Setup vim as the default editor
23 __update_alternatives editor --path /usr/bin/vim.basic
24
26 cdist-type__debconf_set_selections(7), update-alternatives(8)
27
29 Nico Schottelius <nico-cdist--@--schottelius.org> Ander Punnar <‐
30 ander@kvlt.ee>
31
33 Copyright (C) 2013 Nico Schottelius and 2020 Ander Punnar. You can re‐
34 distribute it and/or modify it under the terms of the GNU General Pub‐
35 lic License as published by the Free Software Foundation, either ver‐
36 sion 3 of the License, or (at your option) any later version.
37
39 ungleich GmbH 2020
40
41
42
43
446.9.6 Apr 20, 2021CDIST-TYPE__UPDATE_ALTERNATIVES(7)