[SM-Discuss] Anyone interested in a mlocate spell?
Eric Sandall
eric at sandall.us
Mon Nov 17 19:25:28 EST 2008
Quoting "Kevin Monceaux" <Kevin at RawFedDogs.net>:
> While testing, after casting my mlocate spell in it's current form, it
> replaced locate, updatedb, updatedb.conf, and a man page or two from
> findutils. Afterwords when running cleanse, cleanse noted the files from
> findutils that had been changed, noted that the md5 sums matched those
> belonging to mlocate, and happily removed the entries from findutils'
> logs. If going the option 2 route above, could a trigger such as:
>
> on_cast mlocate check_self
>
> be added to findutils to take care of cleaning up the install and md5
> logs? On the other hand, if there is a way to call alter from the mlocate
> spell, that would probably be a better route.
The problem with this route is on the next cast of findutils, it will
now own the files and cleanse will do the reverse since findutils was
the last installed. :)
-sandalle
--
Eric Sandall | Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285
More information about the SM-Discuss
mailing list