Sophie

Sophie

distrib > Mageia > 8 > x86_64 > by-pkgid > 21b2ace2ac03f313d2647e3833288392 > scriptlet

espeak-1.48.04-4.mga8.x86_64.rpm

PRETRANS

<lua>
-- # (cg) espeak 1.47.11 changed a previous versions folder to a file causing cpio
-- # errors on upgrade - this will still cause problems
-- # (ngompa) Converted to Lua
-- # See: https://fedoraproject.org/wiki/User:Patches/PackagingDrafts/Symlink_Workarounds
path = "/usr/share/espeak-data/voices/en"
st = posix.stat(path)
if st and st.type == "directory" then
  os.execute("rm -rf " .. path)
end