diff options
Diffstat (limited to 'unmaintained/unetbootin/allow-ntfs.patch')
-rw-r--r-- | unmaintained/unetbootin/allow-ntfs.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/unmaintained/unetbootin/allow-ntfs.patch b/unmaintained/unetbootin/allow-ntfs.patch new file mode 100644 index 0000000000..d8e72c1912 --- /dev/null +++ b/unmaintained/unetbootin/allow-ntfs.patch @@ -0,0 +1,20 @@ +--- src.orig/unetbootin.cpp ++++ src/unetbootin.cpp +@@ -572,7 +572,7 @@ + { + if (!volidcommand.isEmpty()) + { +- if (QString(callexternapp(volidcommand, QString("-t %2").arg(usbfileinfoL.at(i).canonicalFilePath()))).contains(QRegExp("(vfat|ext2|ext3|ext4)"))) ++ if (QString(callexternapp(volidcommand, QString("-t %2").arg(usbfileinfoL.at(i).canonicalFilePath()))).contains(QRegExp("(vfat|ntfs|ext2|ext3|ext4)"))) + fulldrivelist.append(usbfileinfoL.at(i).canonicalFilePath()); + } + else +@@ -580,7 +580,7 @@ + QString tstrblk = QString(callexternapp(blkidcommand, QString("-s TYPE %2").arg(usbfileinfoL.at(i).canonicalFilePath()))); + if (tstrblk.contains('=')) + { +- if (tstrblk.section('=', -1, -1).remove('"').contains(QRegExp("(vfat|ext2|ext3|ext4)"))) ++ if (tstrblk.section('=', -1, -1).remove('"').contains(QRegExp("(vfat|ntfs|ext2|ext3|ext4)"))) + fulldrivelist.append(usbfileinfoL.at(i).canonicalFilePath()); + } + } |