summaryrefslogtreecommitdiffstats
path: root/aports.lua
diff options
context:
space:
mode:
Diffstat (limited to 'aports.lua')
-rwxr-xr-xaports.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/aports.lua b/aports.lua
index 4565659..4d4034f 100755
--- a/aports.lua
+++ b/aports.lua
@@ -168,10 +168,10 @@ function QueryDeps(deps, arch)
sth:execute("%"..k.."%", arch)
local l = sth:fetch(true)
if l ~= nil then
- names[l.name] = l.name
+ names[l.name] = l.name:gsub('=.*', '')
end
else
- names[k] = k
+ names[k] = k:gsub('=.*', '')
end
end
sth:close()