shellcheck fixes

This commit is contained in:
Tobias Powalowski 2022-09-23 08:51:07 +02:00
parent 341a40975d
commit 9d3341dddd

View file

@ -54,7 +54,7 @@ if [[ "${_L_COMPLETE}" == "1" || "${_L_INSTALL_COMPLETE}" == "1" ]]; then
_clean_kernel_cache _clean_kernel_cache
sleep 10 sleep 10
echo -e "\033[1mStep 4/9:\033[0m Copy kernel ${VMLINUZ} to /${VMLINUZ} ..." echo -e "\033[1mStep 4/9:\033[0m Copy kernel ${VMLINUZ} to /${VMLINUZ} ..."
cp "${_W_DIR}"/boot/${VMLINUZ} / || exit 1 cp "${_W_DIR}/boot/${VMLINUZ}" / || exit 1
[[ ${_RUNNING_ARCH} == "x86_64" ]] && _kver_x86 [[ ${_RUNNING_ARCH} == "x86_64" ]] && _kver_x86
[[ ${_RUNNING_ARCH} == "aarch64" || ${_RUNNING_ARCH} == "riscv64" ]] && _kver_generic [[ ${_RUNNING_ARCH} == "aarch64" || ${_RUNNING_ARCH} == "riscv64" ]] && _kver_generic
echo -e "\033[1mStep 5/9:\033[0m Collect initramfs files in ${_W_DIR} ..." echo -e "\033[1mStep 5/9:\033[0m Collect initramfs files in ${_W_DIR} ..."