PRETRANS
<lua>
-- Remove all of the symlinks from the bundled npm node_modules directory -- This scriptlet can be removed in Mageia 31 base_path = "/usr/lib/node_modules/npm/node_modules/" d_st = posix.stat(base_path) if d_st then for f in posix.files(base_path) do path = base_path..f st = posix.stat(path) if st and st.type == "link" then os.remove(path) end end end