1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-09-22 03:08:51 +10:00
Zorya-NEO/util/OpenOS/initramfs.d/01_zylib.lua
2020-03-19 15:50:37 -05:00

13 lines
304 B
Lua

local arc = ...
arc.dir(".zy2/lib")
local fs = require("filesystem")
local function readfile(path)
local f = io.open(path)
local dat = f:read("*a")
f:close()
return dat
end
for ent in fs.list("/etc/zorya-neo/lib") do
arc.file(".zy2/lib/"..ent, "r-xr-xr-x", readfile("/etc/zorya-neo/lib/"..ent))
end