Changed unneeded 'elif' statements to simple individual 'if' statements

This commit is contained in:
2026-01-01 12:40:03 -05:00
parent 023c12cb8e
commit ee2967c522

View File

@@ -62,7 +62,9 @@ if [[ "${1}" == '--disk' ]]; then
-t3:BF00 \ -t3:BF00 \
-c3:${ID} \ -c3:${ID} \
${disk} ${disk}
elif [[ "${1}" == '--efi' ]]; then fi
if [[ "${1}" == '--efi' ]]; then
if [[ ! "${disk}" == **/dev/disk/by-id/** ]]; then if [[ ! "${disk}" == **/dev/disk/by-id/** ]]; then
if [[ "${disk}" == **/dev/nvme** ]]; then if [[ "${disk}" == **/dev/nvme** ]]; then
part1='p1' part1='p1'