Hi, On Tue, 2002-10-08 at 20:05:46 +1000, Herbert Xu wrote: > On Tue, Oct 08, 2002 at 08:22:58AM +0200, Thomas Hood wrote: > > "dpkg-divert --remove" always moves the diverted file > > back to the original name. Is this a bug, or should > > the behavior simply be documented? > > I don't see why --remove should be different from --add, the latter > does not perform any file operations unless you give it --rename.
Me neither, even less when there's that option to change the behaviour. I've fixed this now in the git tree. And checked on gluck's lintian lab if packages were using --remove w/o --rename and expecting this "newly" introduced behaviour. AFAICS only shells and few other packages use --remove w/o --rename, the former to control the action and the latter to do some cleanup for really old packaging mess ups. There's only libqt4-ruby, which got --rename removed from both --add and --remove due to 455122. Should probably reopen that one. regards, guillem -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]