mirror of
https://github.com/ValdikSS/windows2usb.git
synced 2023-08-10 21:13:16 +03:00
Also search for uefi-ntfs.img in /usr/share/windows2usb
This commit is contained in:
parent
6bc0ae55c2
commit
b0d00df519
@ -107,7 +107,11 @@ function get_dev_partition_num() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function write_uefintfs() {
|
function write_uefintfs() {
|
||||||
|
if [ -a "$dirpath/uefi-ntfs.img" ]; then
|
||||||
cat "$dirpath/uefi-ntfs.img" > "$1"
|
cat "$dirpath/uefi-ntfs.img" > "$1"
|
||||||
|
elif [ -a "/usr/share/windows2usb/uefi-ntfs.img" ]; then
|
||||||
|
cat "/usr/share/windows2usb/uefi-ntfs.img" > "$1"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function extract_iso() {
|
function extract_iso() {
|
||||||
|
Loading…
Reference in New Issue
Block a user