summaryrefslogtreecommitdiff
path: root/luaotfload-fonts.lua
diff options
context:
space:
mode:
Diffstat (limited to 'luaotfload-fonts.lua')
-rw-r--r--luaotfload-fonts.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/luaotfload-fonts.lua b/luaotfload-fonts.lua
index 7ed2a2d..582d815 100644
--- a/luaotfload-fonts.lua
+++ b/luaotfload-fonts.lua
@@ -13,11 +13,7 @@ luaotfload.fonts.module = {
kpse.set_program_name("luatex")
-if status and status.luatex_version and status.luatex_version > 44 then
- require("luaextra.lua")
-else
- dofile(kpse.find_file("luaextra.lua"))
-end
+dofile(kpse.find_file("luaextra.lua"))
local upper, splitpath, expandpath, glob, basename = string.upper, file.split_path, kpse.expand_path, dir.glob, file.basename