- p["/usr/share/applications/hildon"] = ["REPLACEME.desktop"]
- p["/usr/share/icons/hicolor/26x26/hildon"] = ["REPLACEME"]
- p["/usr/share/icons/hicolor/64x64/hildon"] = ["REPLACEME"]
- p["/usr/share/icons/hicolor/scalable/hildon"] = ["REPLACEME"]
+ for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
+ fullPath = "/opt/gonvert/share"
+ if relPath:
+ fullPath += os.sep+relPath
+ p[fullPath] = list(
+ "|".join((oldName, newName))
+ for (oldName, newName) in files
+ )
+ p["/usr/share/applications/hildon"] = ["gonvert.desktop"]
+ p["/usr/share/icons/hicolor/26x26/hildon"] = ["data-pixmaps-gonvert.png|gonvert.png"]
+ p["/usr/share/icons/hicolor/64x64/hildon"] = ["data-pixmaps-gonvert.png|gonvert.png"]
+ p["/usr/share/icons/hicolor/scalable/hildon"] = ["data-pixmaps-gonvert.png|gonvert.png"]