Re: Sven Joachim 2008-07-07 <[EMAIL PROTECTED]> > ,----[ safe-rm.preinst ] > | if [ install = "$1" ]; then > | dpkg-divert --package safe-rm --add --rename --divert /bin/rm.real > /bin/rm > | ln -s /bin/rm.real /usr/bin/rm > | fi > `----
Why does the package use dpkg-divert anyway? The "rm" wrapper could just be placed in /usr/bin - the default PATH has /usr/bin before /bin. The molly-guard package does the same wrapping for reboot/shutdown and friends, and works like that. Christoph -- [EMAIL PROTECTED] | http://www.df7cb.de/
signature.asc
Description: Digital signature