unetbootin/unetbootin-583-extlinux-path.patch

15 lines
652 B
Diff
Raw Permalink Normal View History

diff -Nru unetbootin-583.orig/unetbootin.cpp unetbootin-583/unetbootin.cpp
--- unetbootin-583.orig/unetbootin.cpp 2012-12-24 09:20:52.000000000 +0100
+++ unetbootin-583/unetbootin.cpp 2013-01-28 19:45:00.543025476 +0100
@@ -290,8 +290,8 @@
syslinuxcommand = "/usr/bin/syslinux";
else
syslinuxcommand = locatecommand("syslinux", tr("FAT32-formatted USB drive"), "syslinux");
- if (QFile::exists("/usr/bin/extlinux"))
- extlinuxcommand = "/usr/bin/extlinux";
+ if (QFile::exists("/sbin/extlinux"))
+ extlinuxcommand = "/sbin/extlinux";
else
extlinuxcommand = locatecommand("extlinux", tr("EXT2-formatted USB drive"), "syslinux");
#endif