Skip to content

Commit 26370c6

Browse files
95-efistub-kernel-bootcfg.install: fix indentation
Signed-off-by: Andrew Ammerlaan <[email protected]>
1 parent 4f72261 commit 26370c6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

hooks/systemd/95-efistub-kernel-bootcfg.install

+12-12
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ if [[ ${KERNEL_INSTALL_LAYOUT} == "uki" ]]; then
3737
fi
3838

3939
if [[ -n "${PRETTY_NAME}" ]]; then
40-
TITLE="${PRETTY_NAME} ${KERNEL_VERSION} (UKI)"
41-
elif [[ -n "${NAME}" ]] && [[ -n "${VERSION_ID}" ]]; then
42-
TITLE="${NAME} ${VERSION_ID} ${KERNEL_VERSION} (UKI)"
43-
else
44-
TITLE="${ENTRY_TOKEN} ${KERNEL_VERSION} (UKI)"
45-
fi
40+
TITLE="${PRETTY_NAME} ${KERNEL_VERSION} (UKI)"
41+
elif [[ -n "${NAME}" ]] && [[ -n "${VERSION_ID}" ]]; then
42+
TITLE="${NAME} ${VERSION_ID} ${KERNEL_VERSION} (UKI)"
43+
else
44+
TITLE="${ENTRY_TOKEN} ${KERNEL_VERSION} (UKI)"
45+
fi
4646

4747
PARTLABEL="$(df "${UKI}" --output=source | tail -1 | xargs -r lsblk --output=PARTLABEL --noheadings)"
4848
if [[ -n ${PARTLABEL} ]]; then
@@ -108,12 +108,12 @@ elif [[ ${KERNEL_INSTALL_LAYOUT} == "efistub" ]]; then
108108
fi
109109

110110
if [[ -n "${PRETTY_NAME}" ]]; then
111-
TITLE="${PRETTY_NAME} ${KERNEL_VERSION} (plain)"
112-
elif [[ -n "${NAME}" ]] && [[ -n "${VERSION_ID}" ]]; then
113-
TITLE="${NAME} ${VERSION_ID} ${KERNEL_VERSION} (plain)"
114-
else
115-
TITLE="${ENTRY_TOKEN} ${KERNEL_VERSION} (plain)"
116-
fi
111+
TITLE="${PRETTY_NAME} ${KERNEL_VERSION} (plain)"
112+
elif [[ -n "${NAME}" ]] && [[ -n "${VERSION_ID}" ]]; then
113+
TITLE="${NAME} ${VERSION_ID} ${KERNEL_VERSION} (plain)"
114+
else
115+
TITLE="${ENTRY_TOKEN} ${KERNEL_VERSION} (plain)"
116+
fi
117117

118118
PARTLABEL="$(df "${KERNEL_IMAGE}" --output=source | tail -1 | xargs -r lsblk --output=PARTLABEL --noheadings)"
119119
if [[ -n ${PARTLABEL} ]]; then

0 commit comments

Comments
 (0)