PRETRANS
<lua>
-- Define the path to directory being replaced below. -- DO NOT add a trailing slash at the end. path = "/usr/lib64/thunderbird/dictionaries" st = posix.stat(path) if st and st.type == "directory" then status = os.rename(path, path .. ".rpmmoved") if not status then suffix = 0 while not status do suffix = suffix + 1 status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix) end os.rename(path, path .. ".rpmmoved") end end