Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 144a030dcf2754b1d5f5fd76a54f712e > scriptlet

golang-1.1.2-3.mga4.x86_64.rpm

PRETRANS

<lua>
for _,d in pairs({"api", "doc", "include", "lib", "src"}) do
  path = "/usr/lib64/golang/" .. d
  if posix.stat(path, "type") == "link" then
    os.remove(path)
    posix.mkdir(path)
  end
end