aboutsummaryrefslogtreecommitdiffstats
path: root/util/dependencies.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-11 13:41:10 +0100
committerKim Alvefur <zash@zash.se>2016-03-11 13:41:10 +0100
commit36c4899e39311d14b66188a9b8af1a577ebc7f61 (patch)
tree3731b00879faf7182108cc277a9a2c61e5fdc0d0 /util/dependencies.lua
parent96bfdd66ff021279115716c0640539e97739f51e (diff)
parente1769afc17d978417c95f944ac757ed45b319d92 (diff)
downloadprosody-36c4899e39311d14b66188a9b8af1a577ebc7f61.tar.gz
prosody-36c4899e39311d14b66188a9b8af1a577ebc7f61.zip
Merge 0.10->trunk
Diffstat (limited to 'util/dependencies.lua')
-rw-r--r--util/dependencies.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua
index 9ab40765..b3f07257 100644
--- a/util/dependencies.lua
+++ b/util/dependencies.lua
@@ -101,7 +101,7 @@ local function check_dependencies()
local encodings, err = softreq "util.encodings"
if not encodings then
- if err:match("not found") then
+ if err:match("module '[^']*' not found") then
missingdep("util.encodings", { ["Windows"] = "Make sure you have encodings.dll from the Prosody distribution in util/";
["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/encodings.so";
});
@@ -118,7 +118,7 @@ local function check_dependencies()
local hashes, err = softreq "util.hashes"
if not hashes then
- if err:match("not found") then
+ if err:match("module '[^']*' not found") then
missingdep("util.hashes", { ["Windows"] = "Make sure you have hashes.dll from the Prosody distribution in util/";
["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/hashes.so";
});