On Wed, 08 Mar 2006, Thomas Hood wrote: > Would it be a good idea to print a warning if /etc/init.d/bootclean is > installed > and the (obsolete) /etc/init.d/bootclean.sh script exists and was modified? > The > warning would say something like: > > A modified /etc/init.d/bootclean.sh file is present. This file > is obsolete and has been replaced by /etc/init.d/bootclean. > If you modified /etc/init.d/bootclean.sh to change the way it > cleans files then you should reimplement your changes in > /etc/init.d/bootclean.
There is another way: In *preinst*, check if a modified /etc/init.d/bootclean.sh file is present. If it is, move it to /etc/init.d/bootclean. That will cause dpkg to output the usual conffile modified stuff. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]