On 01/25/13 03:19 PM, Bart Smaalders wrote:
> < I actually got time to write some code again>
>
> We're adding support for revert-tags on directories to
> delete unpackaged content. This is useful for cleaning
> up log files, etc. when reverting a system to a clean state.
> revert-tag=daleks=terminate.* When pkg revert --tagged daleks
> is run, any files or directories (recursively) that match
> "terminate.*" and are not packaged in the tagged directory
> are removed. This doesn't work on mount points or across
> file system mounts.
So if I'm understanding this right, we might add in the xorg package
something like:
dir path=var/log revert-tag=logs=Xorg\..*\.log.*
and then pkg revert --tagged logs will nuke them, right?
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss