Update pika-refind-theme.postinst

This commit is contained in:
ferrreo 2023-05-25 00:02:28 +01:00 committed by GitHub
parent 75d0032763
commit 16aa56bfea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,23 @@
#! /bin/bash #! /bin/bash
if [[ -z $EFI_PATH ]] && [[ -d /efi ]] if [[ -z $EFI_PATH ]] && [[ -f /efi/EFI/refind/refind.conf ]]
then then
export EFI_PATH=/efi export EFI_PATH=/efi
fi fi
if [[ -z $EFI_PATH ]] && [[ -d /esp ]] if [[ -z $EFI_PATH ]] && [[ -f /esp/EFI/refind/refind.conf ]]
then then
export EFI_PATH=/esp export EFI_PATH=/esp
fi fi
if [[ -z $EFI_PATH ]] && [[ -d /boot/efi ]] if [[ -z $EFI_PATH ]] && [[ -f /boot/efi/EFI/refind/refind.conf ]]
then then
export EFI_PATH=/boot/efi export EFI_PATH=/boot/efi
fi fi
if [[ -z $EFI_PATH ]] && [[ -d /boot ]] if [[ -z $EFI_PATH ]] && [[ -f /boot/EFI/refind/refind.conf ]]
then then
export EFI_PATH=/boot export EFI_PATH=/boot
fi fi