summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-02-21 15:31:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-16 13:39:46 +0000
commit8e106cd6e9d0bf2772b78de1508337de127b711f (patch)
tree17b117360cbd19d818a6a6547025856b37e4d61a
parentd65910d9ef51674b34ef02ca84703937e12450d7 (diff)
downloadlua-aports-8e106cd6e9d0bf2772b78de1508337de127b711f.tar.bz2
lua-aports-8e106cd6e9d0bf2772b78de1508337de127b711f.tar.xz
aports.lua: support filename::fileuri source format
-rwxr-xr-xaports.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/aports.lua b/aports.lua
index 557f9e2..140855d 100755
--- a/aports.lua
+++ b/aports.lua
@@ -125,7 +125,7 @@ end
function is_remote(url)
local _,pref
- for _,pref in pairs{ "^http://", "^ftp://", "^https://" } do
+ for _,pref in pairs{ "^http://", "^ftp://", "^https://", ".*::.*" } do
if string.match(url, pref) then
return true
end