diff options
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r-- | luaotfload-database.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua index ac2d0db..ab0d32c 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -400,7 +400,13 @@ load_names = function (dry_run) nms_version, db_version) if not fonts_reloaded then report("both", 0, "db", [[Force rebuild]]) - return update_names({ }, true, false) + data = update_names({ }, true, false) + local success = save_names (data) + if not success then + report ("both", 0, "db", + "Database creation unsuccessful.") + end + return data end end else |