branding-ubuntu should use config-package-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
branding-ubuntu (Ubuntu) |
Won't Fix
|
Low
|
Scott Ritchie |
Bug Description
Binary package hint: branding-ubuntu
branding-ubuntu currently uses hand-written maintainer scripts to create and remove dpkg-diversions at install and uninstall time.
config-package-dev was created to simplify packages that do exactly that (albeit with slightly different paths). We created config-package-dev at MIT in January of 2008 for the Debathena Project (http://
Files that are configured by packages using config-package-dev are installed to the same location as the file they replace, but with a suffix. For example, to replace /usr/share/
At installtime, the postinst (which is automatically generated by config-package-dev) diverts gnometris.svg to gnometris.
http://
I've updated the branding-ubuntu package to use config-package-dev. My version is attached. You now only have to edit one file to add new branding files. I think this is a huge benefit for future maintainability of the package.
The Debathena team and I have extensive experience using config-package-dev, and would be glad to provide any assistance we can.
Thanks a lot Evan, I'll merge your changes in with some other branding updates I have coming forward. Thanks!