diff --git a/makepkg.lua b/makepkg.lua index d5221fa..07443a9 100644 --- a/makepkg.lua +++ b/makepkg.lua @@ -85,6 +85,12 @@ if lzss then end pkginfo.filename = fnormalize(outpath:sub(tArgs[2]:len()+1)) pkginfo.version = tArgs[3] +if pkginfo.system then + pkginfo.files = {} + for k,v in pairs(files) do + pkginfo.files[#pkginfo.files+1] = fnormalize(v:sub(tArgs[1]:len()+1)) + end +end local repo = {} local f = io.open(tArgs[2].."/packages.cfg","rb")