mirror of
https://github.com/ValdikSS/windows2usb.git
synced 2023-08-10 21:13:16 +03:00
Use -e for file check in other places as well, just to be sure
This commit is contained in:
parent
4abb52133f
commit
8dd14fc452
@ -140,9 +140,9 @@ function get_dev_partition_num() {
|
||||
}
|
||||
|
||||
function write_uefintfs() {
|
||||
if [ -a "$dirpath/uefi-ntfs.img" ]; then
|
||||
if [ -e "$dirpath/uefi-ntfs.img" ]; then
|
||||
cat "$dirpath/uefi-ntfs.img" > "$1"
|
||||
elif [ -a "/usr/share/windows2usb/uefi-ntfs.img" ]; then
|
||||
elif [ -e "/usr/share/windows2usb/uefi-ntfs.img" ]; then
|
||||
cat "/usr/share/windows2usb/uefi-ntfs.img" > "$1"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user