Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f6f8e5217a9c705206bc5570ce89b0ee > scriptlet

golang-1.1.2-3.1.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