aports.lua: support filename::fileuri source format
This commit is contained in:
parent
5fca471ab2
commit
1df2a25695
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue