diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-02 22:00:39 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-02 22:00:39 +0200 |
commit | c23480eb487cce1a55c6e3957a17b52330ad34c4 (patch) | |
tree | d9d9034c16b469e8908f726cf0e34d66a1b27f81 /luaotfload-tool.lua | |
parent | 2a31ed63dccd4eb59c58f2b30c7b5170fe246e24 (diff) | |
download | luaotfload-c23480eb487cce1a55c6e3957a17b52330ad34c4.tar.gz |
[db] always save on update
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-x | luaotfload-tool.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua index 9ccf27c..c3bf3bb 100755 --- a/luaotfload-tool.lua +++ b/luaotfload-tool.lua @@ -763,8 +763,7 @@ actions.generate = function (job) fontnames = names.update(fontnames, job.force_reload, job.dry_run) logs.names_report("info", 2, "db", "Fonts in the database: %i", #fontnames.mappings) - local success = names.save(fontnames) - if success then + if names.data then return true, true end return false, false |