Skip to content

Commit f3b29d3

Browse files
committed
Fix formatting issues in Distribution.xml
1 parent 7c36273 commit f3b29d3

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

src/etc/installer/pkg/Distribution.xml

+33-33
Original file line numberDiff line numberDiff line change
@@ -12,61 +12,61 @@
1212
</volume-check>
1313
<choices-outline>
1414
<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"/>
2020
</line>
2121
<line choice="uninstall" />
2222
</choices-outline>
2323
<!--
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.
2727
-->
2828
<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+
/>
3333
<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"/>
4040
</choice>
4141
<choice id="rustc" visible="true"
42-
title="Compiler" description="rustc, the Rust compiler, and rustdoc, the API documentation tool."
43-
selected="(!choices.uninstall.selected &amp;&amp; choices.rustc.selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
44-
>
42+
title="Compiler" description="rustc, the Rust compiler, and rustdoc, the API documentation tool."
43+
selected="(!choices.uninstall.selected &amp;&amp; choices.rustc.selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
44+
>
4545
<pkg-ref id="org.rust-lang.rustc"/>
4646
</choice>
4747
<choice id="cargo" visible="true"
48-
title="Cargo" description="cargo, the Rust package manager."
49-
selected="(!choices.uninstall.selected &amp;&amp; choices.cargo.selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
50-
>
48+
title="Cargo" description="cargo, the Rust package manager."
49+
selected="(!choices.uninstall.selected &amp;&amp; choices.cargo.selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
50+
>
5151
<pkg-ref id="org.rust-lang.cargo"/>
5252
</choice>
5353
<choice id="rust-std" visible="true"
54-
title="Standard Library" description="The Rust standard library."
55-
selected="(!choices.uninstall.selected &amp;&amp; choices['rust-std'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
56-
>
54+
title="Standard Library" description="The Rust standard library."
55+
selected="(!choices.uninstall.selected &amp;&amp; choices['rust-std'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
56+
>
5757
<pkg-ref id="org.rust-lang.rust-std"/>
5858
</choice>
5959
<choice id="rust-docs" visible="true"
60-
title="Documentation" description="HTML documentation."
61-
selected="(!choices.uninstall.selected &amp;&amp; choices['rust-docs'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
62-
>
60+
title="Documentation" description="HTML documentation."
61+
selected="(!choices.uninstall.selected &amp;&amp; choices['rust-docs'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
62+
>
6363
<pkg-ref id="org.rust-lang.rust-docs"/>
6464
</choice>
6565
<choice id="rls" visible="true"
66-
title="RLS" description="RLS, the Rust Language Server"
67-
selected="(!choices.uninstall.selected &amp;&amp; choices['rls'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
66+
title="RLS" description="RLS, the Rust Language Server"
67+
selected="(!choices.uninstall.selected &amp;&amp; choices['rls'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
6868
start_selected="false"
69-
>
69+
>
7070
<pkg-ref id="org.rust-lang.rls"/>
7171
<pkg-ref id="org.rust-lang.rust-analysis"/>
7272
</choice>

0 commit comments

Comments
 (0)