On Wed, 17 Oct 2001, Branden Robinson wrote: > doc/xbase-clients/examples/Xmodmap, and the Xsession manual page describes how > to write a replacement for /etc/X11/Xsession.d/40xfree86-common_xmodmap. Of > course, if you're upgrading, you can just move the -old versions of these > files > back into place. Be sure to give them different names, or change their > contents > (say, by adding a comment), so that they aren't moved again on the next > upgrade > of XFree86.
Why give these different names? dpkg passes the previous version to maintainer scripts, so you can check what is being upgraded from. If this version is less that 4.1.0-7, then do the move. Otherwise, not. Don't inflict additional pain on an admin, when this kind of check can be automated.