+ if [ "${rufus_uefi_ntfs_version}" = ${BUNDLED_RUFUS_VERSION} ]; then
+ # Write partition image to partition
+ dd \
+ if="/usr/share/woeusb/uefi-ntfs.img" \
+ of="${uefi_ntfs_partition}"
+ return 0
+ fi
+
if ! wget \
--directory-prefix="${download_directory}" \
"https://cdn.jsdelivr.net/gh/pbatard/rufus@${rufus_uefi_ntfs_version}/res/uefi/uefi-ntfs.img"; then
+ if ! command -v wget >/dev/null; then
+ print_warning 'wget is missing, please install wget!\n'
+ fi
print_warning \
"Unable to download UEFI:NTFS partition image from GitHub, installation skipped. Target device might not be bootable if the UEFI firmware doesn't support NTFS filesystem.\\n"