summaryrefslogtreecommitdiff
path: root/src/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-07-29 07:04:57 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2014-07-29 07:04:57 +0200
commit4aecc2d439c857b6021c3d3b1450bb619553ca2f (patch)
treefa33d366c43e8cc9f64fd9dda423fa2f266fca24 /src/luaotfload-database.lua
parent11e08634285978b21fc1f1a03060f5a0c3bd7e7c (diff)
parent964389257aafe081b09798b8d8976f6450ca97b0 (diff)
downloadluaotfload-4aecc2d439c857b6021c3d3b1450bb619553ca2f.tar.gz
Merge pull request #241 from phi-gamma/master
fix issue #237
Diffstat (limited to 'src/luaotfload-database.lua')
-rw-r--r--src/luaotfload-database.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 4c5522e..099c256 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -3091,9 +3091,9 @@ end
update_names = function (currentnames, force, dry_run)
local targetnames
- if config.luaotfload.db.update_live == false then
- report ("info", 2, "db",
- "Skipping database update.")
+ local conf = config.luaotfload
+ if conf.run.live ~= false and conf.db.update_live == false then
+ report ("info", 2, "db", "Skipping database update.")
--- skip all db updates
return currentnames or name_index
end