|
12 | 12 | </volume-check>
|
13 | 13 | <choices-outline>
|
14 | 14 | <line choice="install">
|
15 |
| - <line choice="rustc"/> |
16 |
| - <line choice="rust-std"/> |
17 |
| - <line choice="cargo"/> |
18 |
| - <line choice="rust-docs"/> |
19 |
| - <line choice="rls"/> |
| 15 | + <line choice="rustc"/> |
| 16 | + <line choice="rust-std"/> |
| 17 | + <line choice="cargo"/> |
| 18 | + <line choice="rust-docs"/> |
| 19 | + <line choice="rls"/> |
20 | 20 | </line>
|
21 | 21 | <line choice="uninstall" />
|
22 | 22 | </choices-outline>
|
23 | 23 | <!--
|
24 |
| - These 'selected' scripts ensure that install and uninstall can never be selected at |
25 |
| - the same time. Exectly how they work is pretty mysterious, tied to the unspecified algorithm |
26 |
| - the installer uses to traverse the options after one is toggled. |
| 24 | + These 'selected' scripts ensure that install and uninstall can never be selected at |
| 25 | + the same time. Exectly how they work is pretty mysterious, tied to the unspecified algorithm |
| 26 | + the installer uses to traverse the options after one is toggled. |
27 | 27 | -->
|
28 | 28 | <choice id="install" visible="true"
|
29 |
| - title="Install Rust" description="Install the Rust compiler, package manager and documentation." |
30 |
| - customLocation="/usr/local" |
31 |
| - selected="!choices.uninstall.selected" |
32 |
| - /> |
| 29 | + title="Install Rust" description="Install the Rust compiler, package manager and documentation." |
| 30 | + customLocation="/usr/local" |
| 31 | + selected="!choices.uninstall.selected" |
| 32 | + /> |
33 | 33 | <choice id="uninstall" visible="true"
|
34 |
| - title="Uninstall Rust" description="Select this option to uninstall an existing Rust installation." |
35 |
| - customLocation="/usr/local" |
36 |
| - selected="!(choices.install.selected || choices.rustc.selected || choices.cargo.selected || choices['rust-docs'].selected)" |
37 |
| - start_selected="false" |
38 |
| - > |
39 |
| - <pkg-ref id="org.rust-lang.uninstall" /> |
| 34 | + title="Uninstall Rust" description="Select this option to uninstall an existing Rust installation." |
| 35 | + customLocation="/usr/local" |
| 36 | + selected="!(choices.install.selected || choices.rustc.selected || choices.cargo.selected || choices['rust-docs'].selected)" |
| 37 | + start_selected="false" |
| 38 | + > |
| 39 | + <pkg-ref id="org.rust-lang.uninstall"/> |
40 | 40 | </choice>
|
41 | 41 | <choice id="rustc" visible="true"
|
42 |
| - title="Compiler" description="rustc, the Rust compiler, and rustdoc, the API documentation tool." |
43 |
| - selected="(!choices.uninstall.selected && choices.rustc.selected) || (choices.uninstall.selected && choices.install.selected)" |
44 |
| - > |
| 42 | + title="Compiler" description="rustc, the Rust compiler, and rustdoc, the API documentation tool." |
| 43 | + selected="(!choices.uninstall.selected && choices.rustc.selected) || (choices.uninstall.selected && choices.install.selected)" |
| 44 | + > |
45 | 45 | <pkg-ref id="org.rust-lang.rustc"/>
|
46 | 46 | </choice>
|
47 | 47 | <choice id="cargo" visible="true"
|
48 |
| - title="Cargo" description="cargo, the Rust package manager." |
49 |
| - selected="(!choices.uninstall.selected && choices.cargo.selected) || (choices.uninstall.selected && choices.install.selected)" |
50 |
| - > |
| 48 | + title="Cargo" description="cargo, the Rust package manager." |
| 49 | + selected="(!choices.uninstall.selected && choices.cargo.selected) || (choices.uninstall.selected && choices.install.selected)" |
| 50 | + > |
51 | 51 | <pkg-ref id="org.rust-lang.cargo"/>
|
52 | 52 | </choice>
|
53 | 53 | <choice id="rust-std" visible="true"
|
54 |
| - title="Standard Library" description="The Rust standard library." |
55 |
| - selected="(!choices.uninstall.selected && choices['rust-std'].selected) || (choices.uninstall.selected && choices.install.selected)" |
56 |
| - > |
| 54 | + title="Standard Library" description="The Rust standard library." |
| 55 | + selected="(!choices.uninstall.selected && choices['rust-std'].selected) || (choices.uninstall.selected && choices.install.selected)" |
| 56 | + > |
57 | 57 | <pkg-ref id="org.rust-lang.rust-std"/>
|
58 | 58 | </choice>
|
59 | 59 | <choice id="rust-docs" visible="true"
|
60 |
| - title="Documentation" description="HTML documentation." |
61 |
| - selected="(!choices.uninstall.selected && choices['rust-docs'].selected) || (choices.uninstall.selected && choices.install.selected)" |
62 |
| - > |
| 60 | + title="Documentation" description="HTML documentation." |
| 61 | + selected="(!choices.uninstall.selected && choices['rust-docs'].selected) || (choices.uninstall.selected && choices.install.selected)" |
| 62 | + > |
63 | 63 | <pkg-ref id="org.rust-lang.rust-docs"/>
|
64 | 64 | </choice>
|
65 | 65 | <choice id="rls" visible="true"
|
66 |
| - title="RLS" description="RLS, the Rust Language Server" |
67 |
| - selected="(!choices.uninstall.selected && choices['rls'].selected) || (choices.uninstall.selected && choices.install.selected)" |
| 66 | + title="RLS" description="RLS, the Rust Language Server" |
| 67 | + selected="(!choices.uninstall.selected && choices['rls'].selected) || (choices.uninstall.selected && choices.install.selected)" |
68 | 68 | start_selected="false"
|
69 |
| - > |
| 69 | + > |
70 | 70 | <pkg-ref id="org.rust-lang.rls"/>
|
71 | 71 | <pkg-ref id="org.rust-lang.rust-analysis"/>
|
72 | 72 | </choice>
|
|
0 commit comments