Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 64f788bd686ee58696fd3eebebbad2d7 > scriptlet

glibc-common-2.16-34.fc18.x86_64.rpm

POSTIN

<lua>
if posix.access("/etc/ld.so.cache") then
  if posix.stat("/usr/lib/locale/locale-archive.tmpl", "size") > 0 then
    pid = posix.fork()
    if pid == 0 then
      posix.exec("/usr/sbin/build-locale-archive")
    elseif pid > 0 then
      posix.wait(pid)
    end
  end
end

Triggers

glibc

if posix.stat("/usr/lib/locale/locale-archive.tmpl", "size") > 0 then
  pid = posix.fork()
  if pid == 0 then
    posix.exec("/usr/sbin/build-locale-archive")
  elseif pid > 0 then
    posix.wait(pid)
  end
end