projects/aports·commit 1df2a256

aports.lua: support filename::fileuri source format

1df2a256 · Natanael Copa <[email protected]> · 2013-02-21 15:31:25 +00:00

Commit
1df2a2569526ec3227fffb664862fc5a79de5775
Parents
5fca471a

Changes

1 files changed · +1 −1

FileStatusAddDelContent
aports.luamodified+1−1View file

aports.lua

View file
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