Edit option for refind.conf unnecessarily depends on refind_linux.conf
The existence of refind.conf
should be checked instead of refind_linux.conf
here.
if [[ -e ${MOUNTPOINT}${UEFI_MOUNT}/EFI/refind/refind_linux.conf ]]; then
((i++))
options+=( $i "refind.conf" )
functions+=( "nano ${MOUNTPOINT}${UEFI_MOUNT}/EFI/refind/refind.conf" )
fi
I could probably fix that, but I would need a bit of guidance. I don't have much experience with git and I have never used GitLab-like platforms (aside from browsing).