On Mon, May 12, 2008 at 04:45:53PM +0200, Alexander Vlasov wrote: > Sorry. I mean, in case pkg uninstalling som package SUNWhatever which > contains /usr, /usr/whatever, /usr/whatever/bin/, > /usr/whatever/bin/whatever -- I suppose it will delete all directories > which belong to package, but not /usr.
> The question is: it this because /usr is not empty ot /usr is present in > other packages? If I'm reading the code correctly, because it's present in other packages. > would it delete /usr/whatever/bin/, if I did `touch > /usr/whatever/bin/dummyfile' before uninstalling? It wouldn't delete it, but it would move it aside, to a directory under /var/pkg. See the remove() method of the directory action, and the salvagedir() method of Image. Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
