diff --git a/repo-installer/repoinstaller.lua b/repo-installer/repoinstaller.lua index 8b5af02..a9a4220 100644 --- a/repo-installer/repoinstaller.lua +++ b/repo-installer/repoinstaller.lua @@ -202,9 +202,9 @@ local function install(pkg,where) -- installs a package, pkg, to where os.execute("mkdir "..fs.canonical(m:sub(2))) end if l:sub(1,4) == "http" then - os.execute("cp -v "..rpath.."/external/"..l:match(".+/(.+)").." "..fs.canonical(where.."/"..m)) + os.execute("cp -v "..rpath.."/external/"..l:match(".+/(.+)").." "..fs.canonical(m)) else - os.execute("cp -v "..rpath.."/"..l.." "..fs.canonical(where.."/"..m)) + os.execute("cp -v "..rpath.."/"..l.." "..fs.canonical(m)) end ipackages[pkg][l] = fs.canonical(m:sub(2)).."/"..lseg[#lseg] end