PRETRANS
<lua>
sizes = {"16x16", "22x22", "32x32", "48x48"} for i, size in ipairs(sizes) do path = "/usr/share/icons/hicolor/" .. size .. "/apps/cdogs-sdl.png" 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 end