Martin Pitt wrote: > +See /lib/udev/rules.d/README to identify the appropriate priority.
I don't know about Ubuntu, but sid does not have this file. > + > autoscript($package,"preinst","preinst-moveconffile","s!#OLD#!$old!g;s!#NEW#!$rule!g;s!#PACKAGE#!$package!g"); > + if ($default) { > + > autoscript($package,"postinst","postinst-moveconffile","s!#OLD#!$old!g;s!#NEW#!$rule!g"); > + } Using these scripts to replace a conffile with a non-conffile in /usr is problimatic. If the conffile was modified, then postinst-moveconffile will leave it in place, but rename /lib/udev/rules.d/whatever to /lib/udev/rules.d/whatever.dpkg-new. The right thing to do is probably to rename the old conffile in etc so it has the same basename as the lib file. This way the user's modifications continue to take effect, and udev ignores the lib file. (And if the conffile was unmodified, it will be deleted, allowing the lib file to be used.) Also, your patch does not handle translating --priority=z60_foo to --priority=60-foo. -- see shy jo
signature.asc
Description: Digital signature