summaryrefslogtreecommitdiff
path: root/luaotfload-tool.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-08-02 22:00:39 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-08-02 22:00:39 +0200
commitc23480eb487cce1a55c6e3957a17b52330ad34c4 (patch)
treed9d9034c16b469e8908f726cf0e34d66a1b27f81 /luaotfload-tool.lua
parent2a31ed63dccd4eb59c58f2b30c7b5170fe246e24 (diff)
downloadluaotfload-c23480eb487cce1a55c6e3957a17b52330ad34c4.tar.gz
[db] always save on update
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-xluaotfload-tool.lua3
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