Skip to content

Commit 0814752

Browse files
committed
wiki: Hide recovery_boot instructions if empty
Change-Id: If679bafed52fb42c88c896f306c727b04165077c
1 parent ed7ad34 commit 0814752

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_includes/templates/device_install.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,13 @@ There are no recovery installation instructions for this discontinued device.
110110
{%- else %}
111111
1. [Build]({{ device | device_link: "build" | relative_url }}) a LineageOS installation package.
112112
{%- endif %}
113+
{%- if device.recovery_boot %}
113114
2. If you are not in recovery, reboot into recovery:
114115
* {{ device.recovery_boot }}
115116
{% if device.vendor == "LG" %}
116117
{% include templates/recovery_boot_lge.md %}
117118
{% endif %}
119+
{%- endif %}
118120
{%- if device.uses_twrp %}
119121
3. Now tap **Wipe**.
120122
4. Now tap **Format Data** and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.

0 commit comments

Comments
 (0)